- Timestamp:
- 2015-04-15T20:53:45+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SearchNotesDownloadAction.java
r8071 r8196 73 73 Main.pref.putCollection(HISTORY_KEY, searchTermBox.getHistory()); 74 74 75 performSearch(searchTerm); 76 77 } 78 79 public void performSearch(String searchTerm) { 80 75 81 searchTerm = searchTerm.trim(); 82 83 try { 84 final long id = Long.parseLong(searchTerm); 85 new DownloadNotesTask().download(false, id, null); 86 return; 87 } catch (NumberFormatException ignore) { 88 } 89 76 90 int noteLimit = Main.pref.getInteger("osm.notes.downloadLimit", 1000); 77 91 int closedLimit = Main.pref.getInteger("osm.notes.daysCloased", 7);
Note:
See TracChangeset
for help on using the changeset viewer.