Ignore:
Timestamp:
2015-03-09T08:46:22+01:00 (9 years ago)
Author:
Don-vip
Message:

fix Sonar issue squid:ModifiersOrderCheck - Modifiers should be declared in the correct order

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletionItemPriority.java

    r7725 r8130  
    3737    public static final AutoCompletionItemPriority UNKNOWN = new AutoCompletionItemPriority(false, false, false);
    3838
    39     private final static int NO_USER_INPUT = Integer.MAX_VALUE;
     39    private static final int NO_USER_INPUT = Integer.MAX_VALUE;
    4040
    4141    private final int userInput;
     
    4343    private final boolean inStandard;
    4444    private final boolean selected;
    45    
     45
    4646
    4747    /**
    4848     * Create new AutoCompletionItemPriority object.
    49      * 
     49     *
    5050     * @param inDataSet true, if the item is found in the currently active data layer
    5151     * @param inStandard true, if the item is a standard tag, e.g. from the presets.
     
    8181        return userInput == NO_USER_INPUT ? null : userInput;
    8282    }
    83    
     83
    8484    /**
    8585     * Imposes an ordering on the priorities.
     
    115115    }
    116116
    117     @Override public String toString() {
    118         return String.format("<Priority; userInput: %s, inDataSet: %b, inStandard: %b, selected: %b>",
     117    @Override
     118    public String toString() {
     119        return String.format("<Priority; userInput: %s, inDataSet: %b, inStandard: %b, selected: %b>",
    119120                userInput == NO_USER_INPUT ? "no" : Integer.toString(userInput), inDataSet, inStandard, selected);
    120121    }
Note: See TracChangeset for help on using the changeset viewer.