Changeset 8377 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2015-05-17T04:02:42+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/CloseChangesetAction.java
r8291 r8377 84 84 private UserInfo userInfo; 85 85 86 p ublicDownloadOpenChangesetsTask() {87 super(tr("Downloading open changesets ..." , false /* don't ignore exceptions */));86 private DownloadOpenChangesetsTask() { 87 super(tr("Downloading open changesets ..."), false /* don't ignore exceptions */); 88 88 } 89 89 -
trunk/src/org/openstreetmap/josm/actions/DistributeAction.java
r8247 r8377 111 111 * @return true in this case 112 112 */ 113 private Boolean checkDistributeWay(Collection<Way> ways, Collection<Node> nodes) {113 private boolean checkDistributeWay(Collection<Way> ways, Collection<Node> nodes) { 114 114 if(ways.size() == 1 && nodes.size() <= 2) { 115 115 Way w = ways.iterator().next(); -
trunk/src/org/openstreetmap/josm/actions/ImageryAdjustAction.java
r8308 r8377 57 57 tr("Adjust the position of this imagery layer"), Main.map, 58 58 cursor); 59 putValue("toolbar", false);59 putValue("toolbar", Boolean.FALSE); 60 60 this.layer = layer; 61 61 } -
trunk/src/org/openstreetmap/josm/actions/mapmode/MapMode.java
r6889 r8377 36 36 super(name, "mapmode/"+iconName, tooltip, shortcut, false); 37 37 this.cursor = cursor; 38 putValue("active", false);38 putValue("active", Boolean.FALSE); 39 39 } 40 40 … … 53 53 */ 54 54 public void enterMode() { 55 putValue("active", true);55 putValue("active", Boolean.TRUE); 56 56 Main.map.mapView.setNewCursor(cursor, this); 57 57 updateStatusLine(); … … 62 62 */ 63 63 public void exitMode() { 64 putValue("active", false);64 putValue("active", Boolean.FALSE); 65 65 Main.map.mapView.resetCursor(this); 66 66 } -
trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
r8345 r8377 505 505 if (s.mode == SearchMode.replace) { 506 506 if (matcher.match(osm)) { 507 p.set(osm, true);507 p.set(osm, Boolean.TRUE); 508 508 } else { 509 p.set(osm, false);509 p.set(osm, Boolean.FALSE); 510 510 } 511 511 } else if (s.mode == SearchMode.add && !p.get(osm) && matcher.match(osm)) { 512 p.set(osm, true);512 p.set(osm, Boolean.TRUE); 513 513 } else if (s.mode == SearchMode.remove && p.get(osm) && matcher.match(osm)) { 514 p.set(osm, false);514 p.set(osm, Boolean.FALSE); 515 515 } else if (s.mode == SearchMode.in_selection && p.get(osm) && !matcher.match(osm)) { 516 p.set(osm, false);516 p.set(osm, Boolean.FALSE); 517 517 } 518 518 } … … 523 523 tr("Error"), 524 524 JOptionPane.ERROR_MESSAGE 525 526 525 ); 527 526 }
Note:
See TracChangeset
for help on using the changeset viewer.