Changeset 13205 in josm


Ignore:
Timestamp:
2017-12-17T00:26:08+01:00 (5 weeks ago)
Author:
Don-vip
Message:

enable PMD rule StringToString

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/Filter.java

    r12851 r13205  
    149149        e.version = version;
    150150        e.text = text;
    151         e.mode = mode.toString();
     151        e.mode = mode.name();
    152152        e.case_sensitive = caseSensitive;
    153153        e.regex_search = regexSearch;
  • trunk/tools/pmd/josm-ruleset.xml

    r13204 r13205  
    176176    <exclude name="OptimizableToArrayCall"/>
    177177    <exclude name="SimplifyStartsWith"/>
    178     <exclude name="StringToString"/>
    179178    <exclude name="TooFewBranchesForASwitchStatement"/>
    180179    <exclude name="UseArrayListInsteadOfVector"/>
Note: See TracChangeset for help on using the changeset viewer.