Changeset 8674 in josm


Ignore:
Timestamp:
2015-08-20T23:11:07+02:00 (5 years ago)
Author:
Don-vip
Message:

fix Checkstyle issues

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/mapmode/DeleteAction.java

    r8540 r8674  
    7070        private final Cursor c;
    7171
    72         private DeleteMode(String cursorName) {
     72        DeleteMode(String cursorName) {
    7373            c = ImageProvider.getCursor("normal", cursorName);
    7474        }
  • trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java

    r8550 r8674  
    103103
    104104        private final Cursor c;
    105         private SelectActionCursor(String main, String sub) {
     105        SelectActionCursor(String main, String sub) {
    106106            c = ImageProvider.getCursor(main, sub);
    107107        }
    108108
    109         private SelectActionCursor(int systemCursor) {
     109        SelectActionCursor(int systemCursor) {
    110110            c = Cursor.getPredefinedCursor(systemCursor);
    111111        }
  • trunk/src/org/openstreetmap/josm/actions/search/PushbackTokenizer.java

    r8510 r8674  
    5858        EOF(marktr("<end-of-file>")), LESS_THAN("<less-than>"), GREATER_THAN("<greater-than>");
    5959
    60         private Token(String name) {
     60        Token(String name) {
    6161            this.name = name;
    6262        }
  • trunk/src/org/openstreetmap/josm/data/cache/HostLimitQueue.java

    r8673 r8674  
    6363                        url = job.getUrl();
    6464                    } catch (IOException e) {
     65                        if (Main.isDebugEnabled()) {
     66                            Main.debug(e.getMessage());
     67                        }
    6568                    }
    6669                    Main.info("TMS - Skipping job {0} because host limit reached", url);
  • trunk/src/org/openstreetmap/josm/data/coor/CoordinateFormat.java

    r8126 r8674  
    3131
    3232    private String displayName;
    33     private CoordinateFormat(String displayName) {
     33    CoordinateFormat(String displayName) {
    3434        this.displayName = displayName;
    3535    }
  • trunk/src/org/openstreetmap/josm/data/imagery/ImageryInfo.java

    r8634 r8674  
    6363        private final String typeString;
    6464
    65         private ImageryType(String urlString) {
     65        ImageryType(String urlString) {
    6666            this.typeString = urlString;
    6767        }
  • trunk/src/org/openstreetmap/josm/data/imagery/WMTSTileSource.java

    r8637 r8674  
    109109        private final String typeString;
    110110
    111         private TransferMode(String urlString) {
     111        TransferMode(String urlString) {
    112112            this.typeString = urlString;
    113113        }
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/PaintColors.java

    r8510 r8674  
    5454    }
    5555
    56     private PaintColors(String name, Color defaultColor) {
     56    PaintColors(String name, Color defaultColor) {
    5757        this.name = name;
    5858        this.defaultColor = defaultColor;
  • trunk/src/org/openstreetmap/josm/gui/MainApplication.java

    r8562 r8674  
    44import static org.openstreetmap.josm.tools.I18n.tr;
    55import static org.openstreetmap.josm.tools.I18n.trn;
    6 import gnu.getopt.Getopt;
    7 import gnu.getopt.LongOpt;
    86
    97import java.awt.Dimension;
     
    7068import org.openstreetmap.josm.tools.PlatformHookWindows;
    7169import org.openstreetmap.josm.tools.Utils;
     70
     71import gnu.getopt.Getopt;
     72import gnu.getopt.LongOpt;
    7273
    7374/**
     
    208209        private final boolean requiresArg;
    209210
    210         private Option(boolean requiresArgument) {
     211        Option(boolean requiresArgument) {
    211212            this.name = name().toLowerCase(Locale.ENGLISH).replace("_", "-");
    212213            this.requiresArg = requiresArgument;
  • trunk/src/org/openstreetmap/josm/gui/conflict/ConflictColors.java

    r8510 r8674  
    5151    private final Color defaultColor;
    5252
    53     private ConflictColors(String name, Color defaultColor) {
     53    ConflictColors(String name, Color defaultColor) {
    5454        this.name = name;
    5555        this.defaultColor = defaultColor;
  • trunk/src/org/openstreetmap/josm/gui/history/TwoColumnDiff.java

    r8510 r8674  
    3939
    4040            private final Color color;
    41             private DiffItemType(Color color) {
     41            DiffItemType(Color color) {
    4242                this.color = color;
    4343            }
  • trunk/src/org/openstreetmap/josm/gui/mappaint/StyleSetting.java

    r8390 r8674  
    4141     * A style setting for boolean value (yes / no).
    4242     */
    43     public static class BooleanStyleSetting implements StyleSetting {
     43    class BooleanStyleSetting implements StyleSetting {
    4444        public final StyleSource parentStyle;
    4545        public final String prefKey;
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Instruction.java

    r8373 r8674  
    1515    void execute(Environment env);
    1616
    17     public static class RelativeFloat {
     17    class RelativeFloat {
    1818        public final float val;
    1919
     
    2828    }
    2929
    30     public static class AssignmentInstruction implements Instruction {
     30    class AssignmentInstruction implements Instruction {
    3131        public final String key;
    3232        public final Object val;
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Selector.java

    r8514 r8674  
    6969    Selector optimizedBaseCheck();
    7070
    71     public static enum ChildOrParentSelectorType {
     71    enum ChildOrParentSelectorType {
    7272        CHILD, PARENT, ELEMENT_OF, CROSSING, SIBLING
    7373    }
     
    8787     *
    8888     */
    89     public static class ChildOrParentSelector implements Selector {
     89    class ChildOrParentSelector implements Selector {
    9090        public final Selector left;
    9191        public final LinkSelector link;
     
    442442     * @since 5841
    443443     */
    444     public abstract static class AbstractSelector implements Selector {
     444    abstract class AbstractSelector implements Selector {
    445445
    446446        protected final List<Condition> conds;
     
    485485    }
    486486
    487     public static class LinkSelector extends AbstractSelector {
     487    class LinkSelector extends AbstractSelector {
    488488
    489489        public LinkSelector(List<Condition> conditions) {
     
    518518    }
    519519
    520     public static class GeneralSelector extends OptimizedGeneralSelector {
     520    class GeneralSelector extends OptimizedGeneralSelector {
    521521
    522522        public GeneralSelector(String base, Pair<Integer, Integer> zoom, List<Condition> conds, Subpart subpart) {
     
    539539    }
    540540
    541     public static class OptimizedGeneralSelector extends AbstractSelector {
     541    class OptimizedGeneralSelector extends AbstractSelector {
    542542        public final String base;
    543543        public final Range range;
  • trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetItems.java

    r8513 r8674  
    274274        private final String value;
    275275
    276         private MatchType(String value) {
     276        MatchType(String value) {
    277277            this.value = value;
    278278        }
  • trunk/src/org/openstreetmap/josm/io/OnlineResource.java

    r7937 r8674  
    2424    private final String locName;
    2525
    26     private OnlineResource(String locName) {
     26    OnlineResource(String locName) {
    2727        this.locName = locName;
    2828    }
  • trunk/src/org/openstreetmap/josm/tools/MultikeyShortcutAction.java

    r8512 r8674  
    88public interface MultikeyShortcutAction extends Action {
    99
    10     public static class MultikeyInfo {
     10    class MultikeyInfo {
    1111        private final int index;
    1212        private final String description;
Note: See TracChangeset for help on using the changeset viewer.