Changeset 6394 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2013-11-19T02:29:10+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/OsmUrlToBounds.java
r6380 r6394 92 92 int endIndex = url.indexOf('&', startIndex); 93 93 if (endIndex == -1) endIndex = url.length(); 94 try 95 { 94 try { 96 95 String coordPart = url.substring(startIndex+5, endIndex); 97 96 String[] parts = coordPart.split("/"); … … 100 99 Integer.parseInt(parts[0])); 101 100 return b; 102 } 103 catch(Exception ex) 104 { 101 } catch (Exception ex) { 102 Main.debug(ex.getMessage()); 105 103 return null; 106 104 }
Note:
See TracChangeset
for help on using the changeset viewer.
