- Timestamp:
- 2010-04-06T20:47:46+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/MoveCommand.java
r2990 r3172 92 92 for (Node n : nodes) { 93 93 // in case #3892 happens again 94 // 95 assert n!= null : "null detected in node list"; 96 assert n.getEastNorth() != null : "unexpected null value for n.getEastNorth(). id of n is" + n.getUniqueId(); 94 if (n!= null) 95 throw new AssertionError("null detected in node list"); 96 if (n.getEastNorth() != null) 97 throw new AssertionError("unexpected null value for n.getEastNorth(). id of n is" + n.getUniqueId()); 97 98 98 99 n.setEastNorth(n.getEastNorth().add(x, y));
Note:
See TracChangeset
for help on using the changeset viewer.