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

Location:
trunk/src/org/openstreetmap/josm/data
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/ImageryLayerInfo.java

    r7434 r8130  
    3131    private final List<ImageryInfo> layers = new ArrayList<>();
    3232    private final Map<String, ImageryInfo> layerIds = new HashMap<>();
    33     private final static List<ImageryInfo> defaultLayers = new ArrayList<>();
    34     private final static Map<String, ImageryInfo> defaultLayerIds = new HashMap<>();
     33    private static final List<ImageryInfo> defaultLayers = new ArrayList<>();
     34    private static final Map<String, ImageryInfo> defaultLayerIds = new HashMap<>();
    3535
    3636    private static final String[] DEFAULT_LAYER_SITES = {
  • trunk/src/org/openstreetmap/josm/data/osm/Changeset.java

    r7995 r8130  
    1818 * Represents a single changeset in JOSM. For now its only used during
    1919 * upload but in the future we may do more.
    20  *
     20 * @since 625
    2121 */
    2222public final class Changeset implements Tagged {
     
    349349     * @since 7704
    350350     */
    351     public synchronized final List<ChangesetDiscussionComment> getDiscussion() {
     351    public final synchronized List<ChangesetDiscussionComment> getDiscussion() {
    352352        if (discussion == null) {
    353353            return Collections.emptyList();
     
    361361     * @since 7704
    362362     */
    363     public synchronized final void addDiscussionComment(ChangesetDiscussionComment comment) {
     363    public final synchronized void addDiscussionComment(ChangesetDiscussionComment comment) {
    364364        if (comment == null) {
    365365            return;
  • trunk/src/org/openstreetmap/josm/data/validation/tests/MapCSSTagChecker.java

    r7937 r8130  
    7777    public static class GroupedMapCSSRule {
    7878        /** MapCSS selectors **/
    79         final public List<Selector> selectors;
     79        public final List<Selector> selectors;
    8080        /** MapCSS declaration **/
    81         final public Declaration declaration;
     81        public final Declaration declaration;
    8282
    8383        /**
Note: See TracChangeset for help on using the changeset viewer.