Changeset 16078 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2020-03-08T14:34:12+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/MultipolygonTest.java
r16076 r16078 379 379 if (errorCode == RINGS_SHARE_NODES) { 380 380 errors.add(TestError.builder(this, Severity.OTHER, errorCode) 381 .message(tr("Multipolygon rings share node s"))381 .message(tr("Multipolygon rings share node")) 382 382 .primitives(prims) 383 383 .highlight(sharedByPolygons) … … 577 577 } else if (loop == 0 || samePoly || (loop == 1 && !allInner)) { 578 578 String msg = loop == 0 ? tr("Intersection between multipolygon ways") 579 : samePoly ? tr("Multipolygon ring contains segment stwice")580 : tr("Multipolygon outer way shares segment swith other ring");579 : samePoly ? tr("Multipolygon ring contains segment twice") 580 : tr("Multipolygon outer way shares segment with other ring"); 581 581 errors.add(TestError.builder(this, Severity.ERROR, CROSSING_WAYS) 582 582 .message(msg) … … 693 693 /** 694 694 * Check for:<ul> 695 * <li>{@link #REPEATED_MEMBER_DIFF_ROLE}: Multipolygon member srepeated with different role</li>696 * <li>{@link #REPEATED_MEMBER_SAME_ROLE}: Multipolygon member srepeated with same role</li>695 * <li>{@link #REPEATED_MEMBER_DIFF_ROLE}: Multipolygon member repeated with different role</li> 696 * <li>{@link #REPEATED_MEMBER_SAME_ROLE}: Multipolygon member repeated with same role</li> 697 697 * </ul> 698 698 * @param r relation … … 738 738 } 739 739 } 740 addRepeatedMemberError(r, repeatedDiffRole, REPEATED_MEMBER_DIFF_ROLE, tr("Multipolygon member srepeated with different role"));741 addRepeatedMemberError(r, repeatedSameRole, REPEATED_MEMBER_SAME_ROLE, tr("Multipolygon member srepeated with same role"));740 addRepeatedMemberError(r, repeatedDiffRole, REPEATED_MEMBER_DIFF_ROLE, tr("Multipolygon member repeated with different role")); 741 addRepeatedMemberError(r, repeatedSameRole, REPEATED_MEMBER_SAME_ROLE, tr("Multipolygon member repeated with same role")); 742 742 } 743 743 return hasDups;
Note:
See TracChangeset
for help on using the changeset viewer.