Changeset 7941 in josm
- Timestamp:
- 2015-01-08T20:31:17+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/RelationChecker.java
r7885 r7941 174 174 case WAY: 175 175 return r.types.contains(TaggingPresetType.WAY); 176 case MULTIPOLYGON: 176 177 case RELATION: 177 178 return r.types.contains(TaggingPresetType.RELATION); … … 235 236 } 236 237 237 if (possibleMatchError != null) {238 if (possibleMatchError != null) { 238 239 // if any error found, then assume that member type was correct 239 240 // and complain about not matching the memberExpression … … 246 247 247 248 // prepare Set of all accepted types in template 248 EnumSet<TaggingPresetType> types = EnumSet.noneOf(TaggingPresetType.class);249 Collection<TaggingPresetType> types = EnumSet.noneOf(TaggingPresetType.class); 249 250 for (Role r: rolePreset.roles) { 250 251 types.addAll(r.types);
Note:
See TracChangeset
for help on using the changeset viewer.