Changeset 16447 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2020-05-17T17:24:29+02:00 (4 years ago)
Author:
GerdP
Message:

see #19053: remove wrong and previously obsolete method clean3000 and corresponding unit test
We want to be able to ignore groups like "shop inside shop"

File:
1 edited

Legend:

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

    r16443 r16447  
    294294     */
    295295    static void cleanupIgnoredErrors() {
    296         cleanup3000();
    297296        if (ignoredErrors.size() > 1) {
    298297            List<String> toRemove = new ArrayList<>();
     
    316315            ignoredErrors.putAll(tmap);
    317316        }
    318     }
    319 
    320     private static void cleanup3000() {
    321         // see #19053
    322         ignoredErrors.entrySet()
    323                 .removeIf(e -> e.getKey().equals("3000_" + e.getValue()));
    324317    }
    325318
Note: See TracChangeset for help on using the changeset viewer.