Changeset 14870 in josm


Ignore:
Timestamp:
2019-03-10T14:16:29+01:00 (6 weeks ago)
Author:
GerdP
Message:

fix pmd issue "Avoid appending characters as strings in StringBuffer.append"

File:
1 edited

Legend:

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

    r14852 r14870  
    397397                String ignoreName = child.getUserObject().toString();
    398398                if (ignoreName.matches("^(r|w|n)_.*")) {
    399                     sb.append(":").append(child.getUserObject().toString());
     399                    sb.append(':').append(child.getUserObject().toString());
    400400                } else if (ignoreName.matches("^[0-9]+(_.*|)$")) {
    401401                    rHashMap.put(ignoreName, description);
Note: See TracChangeset for help on using the changeset viewer.