Changeset 8345 in josm for trunk/src/org/openstreetmap/josm/actions/mapmode/ParallelWayAction.java
- Timestamp:
- 2015-05-11T10:52:33+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/ParallelWayAction.java
r8308 r8345 245 245 boolean oldAlt = alt, oldShift = shift, oldCtrl = ctrl; 246 246 updateKeyModifiers(modifiers); 247 return (oldAlt != alt || oldShift != shift || oldCtrl != ctrl);247 return oldAlt != alt || oldShift != shift || oldCtrl != ctrl; 248 248 } 249 249 … … 288 288 ((Boolean) this.getValue("active")); 289 289 // @formatter:on 290 assert (areWeSane); // mad == bad290 assert areWeSane; // mad == bad 291 291 return areWeSane; 292 292 } … … 498 498 //// We keep the source ways and the selection in sync so the user can see the source way's tags 499 499 private void addSourceWay(Way w) { 500 assert (sourceWays != null);500 assert sourceWays != null; 501 501 getCurrentDataSet().addSelected(w); 502 502 w.setHighlighted(true); … … 505 505 506 506 private void removeSourceWay(Way w) { 507 assert (sourceWays != null);507 assert sourceWays != null; 508 508 getCurrentDataSet().clearSelection(w); 509 509 w.setHighlighted(false); … … 512 512 513 513 private void clearSourceWays() { 514 assert (sourceWays != null);514 assert sourceWays != null; 515 515 getCurrentDataSet().clearSelection(sourceWays); 516 516 for (Way w : sourceWays) {
Note:
See TracChangeset
for help on using the changeset viewer.