- Timestamp:
- 2016-01-21T00:03:36+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/MultipolygonTest.java
r9490 r9553 182 182 final String roleInNewMP = memberInNewMP.iterator().next().getRole(); 183 183 if (!member.getRole().equals(roleInNewMP)) { 184 List<OsmPrimitive> l = new ArrayList<>(); 185 l.add(r); 186 l.add(member.getMember()); 184 187 addError(r, new TestError(this, Severity.WARNING, RelationChecker.ROLE_VERIF_PROBLEM_MSG, 185 188 tr("Role for ''{0}'' should be ''{1}''", … … 187 190 MessageFormat.format("Role for ''{0}'' should be ''{1}''", 188 191 member.getMember().getDisplayName(DefaultNameFormatter.getInstance()), roleInNewMP), 189 WRONG_MEMBER_ROLE, Collections.singleton(r), Collections.singleton(member.getMember())));192 WRONG_MEMBER_ROLE, l, Collections.singleton(member.getMember()))); 190 193 } 191 194 }
Note:
See TracChangeset
for help on using the changeset viewer.