Ignore:
Timestamp:
2017-05-04T09:53:02+02:00 (3 years ago)
Author:
Don-vip
Message:

fix Java/PMD/Checkstyle warnings

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/conflict/pair/properties/PropertiesMerger.java

    r12047 r12058  
    330330    }
    331331
    332     private final class EmptyFillRow extends AbstractMergePanel.MergeRow {
     332    private static final class EmptyFillRow extends AbstractMergePanel.MergeRow {
    333333        @Override
    334334        protected JComponent merged() {
  • trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresets.java

    r12042 r12058  
    115115            KeyedItem ki = (KeyedItem) item;
    116116            if (ki.key != null && ki.getValues() != null) {
    117                 try {
    118                     PRESET_TAG_CACHE.putAll(ki.key, ki.getValues());
    119                 } catch (NullPointerException e) {
    120                     Main.error(e, p + ": Unable to cache " + ki);
    121                 }
     117                PRESET_TAG_CACHE.putAll(ki.key, ki.getValues());
    122118            }
    123119        } else if (item instanceof Roles) {
Note: See TracChangeset for help on using the changeset viewer.