Ignore:
Timestamp:
2015-05-07T01:27:41+02:00 (9 years ago)
Author:
Don-vip
Message:

fix squid:S1319 - Declarations should use Java collection interfaces rather than specific implementation classes

File:
1 edited

Legend:

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

    r8239 r8338  
    66import java.util.HashSet;
    77import java.util.Map.Entry;
     8import java.util.Set;
    89import java.util.regex.Pattern;
    910
     
    6061    @Override
    6162    public void check(OsmPrimitive p) {
    62         HashSet<String> names = new HashSet<>();
     63        Set<String> names = new HashSet<>();
    6364
    6465        for (Entry<String, String> entry : p.getKeys().entrySet()) {
Note: See TracChangeset for help on using the changeset viewer.