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

fix Checkstyle issues

Location:
trunk/src/org/openstreetmap/josm/gui
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • 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        }
Note: See TracChangeset for help on using the changeset viewer.