Changeset 33121 in osm for applications
- Timestamp:
- 2017-01-23T22:56:48+01:00 (8 years ago)
- Location:
- applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/datastructure/OSMGraph.java
r32596 r33121 34 34 35 35 public void removeWay(OSMWay way) { 36 w ays.remove(way);36 while (ways.values().remove(way)); 37 37 } 38 38 … … 51 51 52 52 public OSMRelation getRelation(int id) { 53 return relations.get( id);53 return relations.get(Long.valueOf(id)); 54 54 } 55 55 … … 85 85 86 86 public ArrayList<Long> getIDsfromWay(int id) { 87 OSMWay w = ways.get( id);87 OSMWay w = ways.get(Long.valueOf(id)); 88 88 ArrayList<Long> ids = new ArrayList<>(); 89 89 ids.add(w.getToNode().getId()); -
applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/datastructure/OSMRelation.java
r32692 r33121 53 53 * @author joerg 54 54 */ 55 class Member {55 static class Member { 56 56 57 57 private OSMEntity member; -
applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/junctionchecking/JunctionChecker.java
r32596 r33121 125 125 for (int j = 0; j < junctioncandidates.size(); j++) { 126 126 if (junctioncandidates.get(i).containsAll(junctioncandidates.get(j))) { 127 junctions.remove All(junctioncandidates.get(i));127 junctions.remove(junctioncandidates.get(i)); 128 128 } 129 129 }
Note:
See TracChangeset
for help on using the changeset viewer.