Changeset 9212 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2015-12-29T18:51:22+01:00 (9 years ago)
Author:
Don-vip
Message:

checkstyle 6.14 + tune xml validation settings in Eclipse project

Location:
trunk/src/org/openstreetmap/josm
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java

    r9210 r9212  
    461461        ret.setEtag(urlConn.getHeaderField("ETag"));
    462462
    463         if(Main.isDebugEnabled()) {
    464             for(Entry<String, List<String>> header: urlConn.getHeaderFields().entrySet()) {
     463        if (Main.isDebugEnabled()) {
     464            for (Entry<String, List<String>> header: urlConn.getHeaderFields().entrySet()) {
    465465                log.log(Level.FINE, "Response header - {0}: {1}", new Object[]{header.getKey(), header.getValue()});
    466466            }
  • trunk/src/org/openstreetmap/josm/data/coor/CoordinateFormat.java

    r8674 r9212  
    1313     * the decimal format 999.999
    1414     */
    15     DECIMAL_DEGREES (tr("Decimal Degrees")),
     15    DECIMAL_DEGREES(tr("Decimal Degrees")),
    1616
    1717    /**
    1818     * the degrees/minutes/seconds format 9 deg 99 min 99 sec
    1919     */
    20     DEGREES_MINUTES_SECONDS (tr("deg\u00B0 min'' sec\"")),
     20    DEGREES_MINUTES_SECONDS(tr("deg\u00B0 min'' sec\"")),
    2121
    2222    /**
    2323     * the nautical format
    2424     */
    25     NAUTICAL (tr("deg\u00B0 min'' (Nautical)")),
     25    NAUTICAL(tr("deg\u00B0 min'' (Nautical)")),
    2626
    2727    /**
    2828     * coordinates East/North
    2929     */
    30     EAST_NORTH (tr("Projected Coordinates"));
     30    EAST_NORTH(tr("Projected Coordinates"));
    3131
    3232    private String displayName;
  • trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitiveType.java

    r8510 r9212  
    1111public enum OsmPrimitiveType {
    1212
    13     NODE (marktr(/* ICON(data/) */"node"), Node.class, NodeData.class),
    14     WAY  (marktr(/* ICON(data/) */"way"), Way.class, WayData.class),
    15     RELATION (marktr(/* ICON(data/) */"relation"), Relation.class, RelationData.class),
     13    NODE(marktr(/* ICON(data/) */"node"), Node.class, NodeData.class),
     14    WAY(marktr(/* ICON(data/) */"way"), Way.class, WayData.class),
     15    RELATION(marktr(/* ICON(data/) */"relation"), Relation.class, RelationData.class),
    1616
    1717    /* only for display, no real type */
    18     CLOSEDWAY  (marktr(/* ICON(data/) */"closedway"), null, WayData.class),
    19     MULTIPOLYGON (marktr(/* ICON(data/) */"multipolygon"), null, RelationData.class);
     18    CLOSEDWAY(marktr(/* ICON(data/) */"closedway"), null, WayData.class),
     19    MULTIPOLYGON(marktr(/* ICON(data/) */"multipolygon"), null, RelationData.class);
    2020
    2121    private static final Collection<OsmPrimitiveType> DATA_VALUES = Arrays.asList(NODE, WAY, RELATION);
  • trunk/src/org/openstreetmap/josm/gui/conflict/ConflictColors.java

    r8674 r9212  
    3434    BGCOLOR_SAME_POSITION_IN_OPPOSITE(marktr("Conflict background: same position in opposite"), new Color(217, 255, 217)),
    3535
    36     BGCOLOR_TAG_KEEP_ONE (marktr("Conflict background: keep one tag"), new Color(217, 255, 217)),
    37     FGCOLOR_TAG_KEEP_ONE (marktr("Conflict foreground: keep one tag"), Color.black),
     36    BGCOLOR_TAG_KEEP_ONE(marktr("Conflict background: keep one tag"), new Color(217, 255, 217)),
     37    FGCOLOR_TAG_KEEP_ONE(marktr("Conflict foreground: keep one tag"), Color.black),
    3838    BGCOLOR_TAG_KEEP_NONE(marktr("Conflict background: drop tag"), Color.lightGray),
    3939    FGCOLOR_TAG_KEEP_NONE(marktr("Conflict foreground: drop tag"), Color.black),
    40     BGCOLOR_TAG_KEEP_ALL (marktr("Conflict background: keep all tags"), new Color(255, 234, 213)),
    41     FGCOLOR_TAG_KEEP_ALL (marktr("Conflict foreground: keep all tags"), Color.black),
     40    BGCOLOR_TAG_KEEP_ALL(marktr("Conflict background: keep all tags"), new Color(255, 234, 213)),
     41    FGCOLOR_TAG_KEEP_ALL(marktr("Conflict foreground: keep all tags"), Color.black),
    4242    BGCOLOR_TAG_SUM_ALL_NUM(marktr("Conflict background: sum all numeric tags"), new Color(255, 234, 213)),
    4343    FGCOLOR_TAG_SUM_ALL_NUM(marktr("Conflict foreground: sum all numeric tags"), Color.black),
    4444
    45     BGCOLOR_MEMBER_KEEP  (marktr("Conflict background: keep member"), new Color(217, 255, 217)),
    46     FGCOLOR_MEMBER_KEEP  (marktr("Conflict foreground: keep member"), Color.black),
     45    BGCOLOR_MEMBER_KEEP(marktr("Conflict background: keep member"), new Color(217, 255, 217)),
     46    FGCOLOR_MEMBER_KEEP(marktr("Conflict foreground: keep member"), Color.black),
    4747    BGCOLOR_MEMBER_REMOVE(marktr("Conflict background: remove member"), Color.lightGray),
    4848    FGCOLOR_MEMBER_REMOVE(marktr("Conflict foreground: remove member"), Color.black);
  • trunk/src/org/openstreetmap/josm/gui/conflict/pair/ComparePairType.java

    r8291 r9212  
    1717     * compare my version of an {@link org.openstreetmap.josm.data.osm.OsmPrimitive} with their version
    1818     */
    19     MY_WITH_THEIR (tr("My with Their"), new ListRole[] {MY_ENTRIES, THEIR_ENTRIES}),
     19    MY_WITH_THEIR(tr("My with Their"), new ListRole[] {MY_ENTRIES, THEIR_ENTRIES}),
    2020
    2121    /**
    2222     * compare my version of an {@link org.openstreetmap.josm.data.osm.OsmPrimitive} with the merged version
    2323     */
    24     MY_WITH_MERGED (tr("My with Merged"),  new ListRole[] {MY_ENTRIES, MERGED_ENTRIES}),
     24    MY_WITH_MERGED(tr("My with Merged"),  new ListRole[] {MY_ENTRIES, MERGED_ENTRIES}),
    2525
    2626    /**
  • trunk/src/org/openstreetmap/josm/gui/preferences/plugin/PluginUpdatePolicyPanel.java

    r8513 r9212  
    3232
    3333    private enum Policy {
    34         ASK ("ask"),
     34        ASK("ask"),
    3535        ALWAYS("always"),
    3636        NEVER("never");
Note: See TracChangeset for help on using the changeset viewer.