Changeset 11462 in josm for trunk/src/org
- Timestamp:
- 2017-01-12T23:28:57+01:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java
r11397 r11462 270 270 else if (mode == Mode.translate_node) 271 271 rv = new StringBuilder(tr("Move the node along one of the segments, then release the mouse button.")); 272 else if (mode == Mode.extrude) 273 rv = new StringBuilder(tr("Draw a rectangle of the desired size, then release the mouse button.")); 274 else if (mode == Mode.create_new) 272 else if (mode == Mode.extrude || mode == Mode.create_new) 275 273 rv = new StringBuilder(tr("Draw a rectangle of the desired size, then release the mouse button.")); 276 274 else { -
trunk/src/org/openstreetmap/josm/data/validation/tests/WayConnectedToArea.java
r11129 r11462 63 63 64 64 private void testForError(Way w, Node wayNode, OsmPrimitive p) { 65 if (wayNode.isOutsideDownloadArea()) { 66 return; 67 } else if (wayNode.getReferrers().stream().anyMatch(p1 -> p1.hasTag("route", "ferry"))) { 65 if (wayNode.isOutsideDownloadArea() 66 || wayNode.getReferrers().stream().anyMatch(p1 -> p1.hasTag("route", "ferry"))) { 68 67 return; 69 68 } else if (isArea(p)) { -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/RelationMemberConflictResolverModel.java
r10717 r11462 244 244 indices.add(decision.getPos()); 245 245 } 246 if (roles.size() != 1) { 247 // roles to not patch, leave undecided 248 continue; 249 } else if (!isCollectionOfConsecutiveNumbers(indices)) { 250 // not consecutive members in relation, leave undecided 246 if (roles.size() != 1 || !isCollectionOfConsecutiveNumbers(indices)) { 247 // roles to not patch or not consecutive members in relation, leave undecided 251 248 continue; 252 249 }
Note:
See TracChangeset
for help on using the changeset viewer.