Changeset 33311 in osm for applications/editors/josm/plugins/reltoolbox/src/relcontext/relationfix
- Timestamp:
- 2017-05-13T14:56:51+02:00 (8 years ago)
- Location:
- applications/editors/josm/plugins/reltoolbox/src/relcontext/relationfix
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reltoolbox/src/relcontext/relationfix/MultipolygonFixer.java
r32395 r33311 82 82 if (m.isWay()) { 83 83 String role = null; 84 if (outerWays.contains(m.getMember())) { 84 if (outerWays.contains((Way)m.getMember())) { 85 85 role = "outer"; 86 } else if (innerWays.contains(m.getMember())) { 86 } else if (innerWays.contains((Way)m.getMember())) { 87 87 role = "inner"; 88 88 } -
applications/editors/josm/plugins/reltoolbox/src/relcontext/relationfix/RelationFixer.java
r32395 r33311 2 2 package relcontext.relationfix; 3 3 4 import java.util.*; 4 5 import static org.openstreetmap.josm.tools.I18n.tr; 5 6 6 import java.util.ArrayList;7 import java.util.List;8 7 9 8 import javax.swing.Action; … … 25 24 public RelationFixer(String... types) { 26 25 applicableTypes = new ArrayList<>(); 27 for (String type: types) { 28 applicableTypes.add(type); 29 } 26 applicableTypes.addAll(Arrays.asList(types)); 30 27 } 31 28
Note:
See TracChangeset
for help on using the changeset viewer.