Changeset 2686 in josm for trunk/src/org/openstreetmap/josm/data/Bounds.java
- Timestamp:
- 2009-12-28T00:14:33+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/Bounds.java
r2512 r2686 69 69 } 70 70 } 71 if (!LatLon.isValidLat(values[0])) 72 throw new IllegalArgumentException(tr("Illegal latitude value ''{0}''", values[0])); 73 if (!LatLon.isValidLon(values[1])) 74 throw new IllegalArgumentException(tr("Illegal longitude value ''{0}''", values[1])); 75 if (!LatLon.isValidLat(values[2])) 76 throw new IllegalArgumentException(tr("Illegal latitude value ''{0}''", values[2])); 77 if (!LatLon.isValidLon(values[3])) 78 throw new IllegalArgumentException(tr("Illegal latitude value ''{0}''", values[3])); 79 71 80 this.min = new LatLon(values[0], values[1]); 72 81 this.max = new LatLon(values[2], values[3]);
Note:
See TracChangeset
for help on using the changeset viewer.