Ignore:
Timestamp:
2013-09-27T01:53:58+02:00 (11 years ago)
Author:
Don-vip
Message:

Sonar/FindBugs:

  • Dodgy - Redundant nullcheck of value known to be non-null
  • Dodgy - Write to static field from instance method
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/TagChecker.java

    r6264 r6265  
    367367        }
    368368
    369         Map<String, String> props = (p.getKeys() == null) ? Collections.<String, String>emptyMap() : p.getKeys();
    370         for (Entry<String, String> prop : props.entrySet()) {
     369        for (Entry<String, String> prop : p.getKeys().entrySet()) {
    371370            String s = marktr("Key ''{0}'' invalid.");
    372371            String key = prop.getKey();
Note: See TracChangeset for help on using the changeset viewer.