Changeset 8506 in josm for trunk/src/org/openstreetmap/josm/gui/download
- Timestamp:
- 2015-06-19T23:34:50+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/download/BookmarkList.java
r8468 r8506 38 38 /** 39 39 * Constructs a new {@code Bookmark} with the given contents. 40 * @param list Bookmark contents as a list of 5 elements. First item is the name, then come bounds arguments (minlat, minlon, maxlat, maxlon) 40 * @param list Bookmark contents as a list of 5 elements. 41 * First item is the name, then come bounds arguments (minlat, minlon, maxlat, maxlon) 41 42 * @throws NumberFormatException if the bounds arguments are not numbers 42 43 * @throws IllegalArgumentException if list contain less than 5 elements 43 44 */ 44 public Bookmark(Collection<String> list) throws NumberFormatException, IllegalArgumentException{45 public Bookmark(Collection<String> list) { 45 46 List<String> array = new ArrayList<>(list); 46 47 if(array.size() < 5)
Note:
See TracChangeset
for help on using the changeset viewer.