Changeset 8454 in josm for trunk/src


Ignore:
Timestamp:
2015-06-03T03:43:56+02:00 (9 years ago)
Author:
Don-vip
Message:

fix #11493 - Wrong warning in validation of roundabouts (regression, partial revert of r8390)

Location:
trunk/src/org/openstreetmap/josm
Files:
3 edited

Legend:

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

    r8390 r8454  
    4343     * Classified highways in order of importance
    4444     */
    45     private static final Set<String> CLASSIFIED_HIGHWAYS = new HashSet<>(Arrays.asList(
     45    private static final List<String> CLASSIFIED_HIGHWAYS = Arrays.asList(
    4646            "motorway",  "motorway_link",
    4747            "trunk",     "trunk_link",
     
    5151            "unclassified",
    5252            "residential",
    53             "living_street"));
     53            "living_street");
    5454
    5555    private static final Set<String> KNOWN_SOURCE_MAXSPEED_CONTEXTS = new HashSet<>(Arrays.asList(
  • trunk/src/org/openstreetmap/josm/gui/MapView.java

    r8395 r8454  
    2626import java.util.Collections;
    2727import java.util.Comparator;
    28 import java.util.LinkedHashSet;
     28import java.util.LinkedList;
    2929import java.util.List;
    30 import java.util.Set;
    3130import java.util.concurrent.CopyOnWriteArrayList;
    3231
     
    225224    public MouseEvent lastMEvent = new MouseEvent(this, 0, 0, 0, 0, 0, 0, false); // In case somebody reads it before first mouse move
    226225
    227     private final transient Set<MapViewPaintable> temporaryLayers = new LinkedHashSet<>();
     226    private final transient List<MapViewPaintable> temporaryLayers = new LinkedList<>();
    228227
    229228    private transient BufferedImage nonChangedLayersBuffer;
  • trunk/src/org/openstreetmap/josm/gui/dialogs/relation/RelationEditor.java

    r8444 r8454  
    88import java.lang.reflect.Constructor;
    99import java.lang.reflect.Method;
     10import java.util.ArrayList;
    1011import java.util.Collection;
    11 import java.util.LinkedHashSet;
    12 import java.util.Set;
     12import java.util.List;
    1313
    1414import org.openstreetmap.josm.Main;
     
    3232
    3333    /** the list of registered relation editor classes */
    34     private static Set<Class<RelationEditor>> editors = new LinkedHashSet<>();
     34    private static List<Class<RelationEditor>> editors = new ArrayList<>();
    3535
    3636    /**
Note: See TracChangeset for help on using the changeset viewer.