Changeset 14865 in josm for trunk/src


Ignore:
Timestamp:
2019-03-09T19:28:18+01:00 (6 years ago)
Author:
GerdP
Message:

fix new sonar issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/util/MultipleNameVisitor.java

    r14855 r14865  
    2828    private static final Icon MULTI_CLASS_ICON = ImageProvider.get("data", MULTI_CLASS_NAME);
    2929
    30     /** The class name of the combined primitives */
    31     private String multipleClassname;
    3230    /** Name to be displayed */
    3331    private String displayName;
    34     /** Size of the collection */
    35     private int size;
    3632
    3733    /**
     
    4238        StringBuilder multipleName = new StringBuilder();
    4339        String multiplePluralClassname = null;
    44         size = data.size();
     40        int size = data.size();
    4541
    46         multipleClassname = null;
     42        // The class name of the combined primitives
     43        String multipleClassname = null;
    4744        for (OsmPrimitive osm : data) {
    4845            String name = osm.getDisplayName(DefaultNameFormatter.getInstance());
Note: See TracChangeset for help on using the changeset viewer.