Changeset 18211 in josm for trunk/src/org/openstreetmap/josm/actions/mapmode/AddNoteAction.java
- Timestamp:
- 2021-09-12T02:10:25+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/AddNoteAction.java
r17414 r18211 20 20 import org.openstreetmap.josm.tools.ImageProvider; 21 21 import org.openstreetmap.josm.tools.Logging; 22 import org.openstreetmap.josm.tools.Utils; 22 23 23 24 /** … … 78 79 } 79 80 String input = dialog.getInputText(); 80 if ( input != null && !input.isEmpty()) {81 if (!Utils.isEmpty(input)) { 81 82 LatLon latlon = map.mapView.getLatLon(e.getPoint().x, e.getPoint().y); 82 83 noteData.createNote(latlon, input);
Note:
See TracChangeset
for help on using the changeset viewer.