- Timestamp:
- 2020-04-14T08:34:08+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/ConnectivityRelations.java
r16295 r16299 73 73 */ 74 74 public static Map<Integer, Map<Integer, Boolean>> parseConnectivityTag(Relation relation) { 75 final String joined = relation.get(CONNECTIVITY_TAG).replace("bw", Integer.toString(BW)); 76 77 if (joined == null) { 75 String cnTag = relation.get(CONNECTIVITY_TAG); 76 if (cnTag == null) { 78 77 return Collections.emptyMap(); 79 78 } 79 final String joined = cnTag.replace("bw", Integer.toString(BW)); 80 80 81 81 82 final Map<Integer, Map<Integer, Boolean>> result = new HashMap<>();
Note:
See TracChangeset
for help on using the changeset viewer.