Ticket #17584: 17584_remainder.patch
| File 17584_remainder.patch, 1.1 KB (added by , 7 years ago) |
|---|
-
src/main/java/org/openstreetmap/josm/plugins/pt_assistant/utils/StopUtils.java
4 4 import org.openstreetmap.josm.data.osm.Node; 5 5 import org.openstreetmap.josm.data.osm.OsmPrimitive; 6 6 import org.openstreetmap.josm.data.osm.Relation; 7 import org.openstreetmap.josm.tools.Utils; 7 8 8 9 /** 9 10 * Utils class for stop areas … … 69 70 * @return true if the object part of stop area relation, false otherwise. 70 71 */ 71 72 public static boolean verifyIfMemberOfStopArea(final OsmPrimitive member) { 72 for (Relation parentRelation : OsmPrimitive.getFilteredList(member.getReferrers(), Relation.class)) {73 for (Relation parentRelation : Utils.filteredCollection(member.getReferrers(), Relation.class)) { 73 74 if (StopUtils.isStopArea(parentRelation)) { 74 75 return true; 75 76 }
