Changeset 6085 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2013-07-26T17:24:33+02:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/OsmUrlToBounds.java
r5863 r6085 41 41 try { 42 42 if (map.containsKey("bbox")) { 43 String bbox[]= map.get("bbox").split(",");43 String[] bbox = map.get("bbox").split(","); 44 44 b = new Bounds( 45 45 new LatLon(Double.parseDouble(bbox[1]), Double.parseDouble(bbox[0])), -
trunk/src/org/openstreetmap/josm/tools/TextTagParser.java
r5927 r6085 71 71 72 72 private String parseString(String stopChars) { 73 char stop[]= stopChars.toCharArray();73 char[] stop = stopChars.toCharArray(); 74 74 Arrays.sort(stop); 75 75 char c; … … 159 159 */ 160 160 public static Map<String, String> readTagsByRegexp(String text, String splitRegex, String tagRegex, boolean unescapeTextInQuotes) { 161 String lines[]= text.split(splitRegex);161 String[] lines = text.split(splitRegex); 162 162 Pattern p = Pattern.compile(tagRegex); 163 163 Map<String, String> tags = new HashMap<String,String>();
Note:
See TracChangeset
for help on using the changeset viewer.