Changeset 10462 in josm for trunk/src/org/openstreetmap/josm
- Timestamp:
- 2016-06-23T02:12:21+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/ImageryInfo.java
r10300 r10462 863 863 public String getExtendedUrl() { 864 864 return imageryType.getTypeString() + (defaultMaxZoom != 0 865 ? ('['+(defaultMinZoom != 0 ? (Integer.toString(defaultMinZoom) + ',') : "")+defaultMaxZoom+ "]") : "") + ':' + url;865 ? ('['+(defaultMinZoom != 0 ? (Integer.toString(defaultMinZoom) + ',') : "")+defaultMaxZoom+']') : "") + ':' + url; 866 866 } 867 867 -
trunk/src/org/openstreetmap/josm/gui/MapViewState.java
r10458 r10462 344 344 @Override 345 345 public String toString() { 346 return "MapViewViewPoint [x=" + x + ", y=" + y + "]";346 return "MapViewViewPoint [x=" + x + ", y=" + y + ']'; 347 347 } 348 348 } … … 373 373 @Override 374 374 public String toString() { 375 return "MapViewEastNorthPoint [eastNorth=" + eastNorth + "]";375 return "MapViewEastNorthPoint [eastNorth=" + eastNorth + ']'; 376 376 } 377 377 } … … 417 417 418 418 /** 419 * Gets the real bounds that enclose this rectangle. 419 * Gets the real bounds that enclose this rectangle. 420 420 * This is computed respecting that the borders of this rectangle may not be a straignt line in latlon coordinates. 421 421 * @return The bounds. -
trunk/src/org/openstreetmap/josm/gui/preferences/imagery/CacheContentsPanel.java
r10043 r10462 237 237 int row = ret.convertRowIndexToModel(ret.getEditingRow()); 238 238 tableModel.setValueAt("0", row, 1); 239 cache.remove(ret.getValueAt(row, 0) + ":");239 cache.remove(ret.getValueAt(row, 0).toString() + ':'); 240 240 } 241 241 }); -
trunk/src/org/openstreetmap/josm/io/OsmHistoryReader.java
r8846 r10462 40 40 if (locator == null) 41 41 return ""; 42 return "(" + locator.getLineNumber() + ',' + locator.getColumnNumber() + ')'; 42 return new StringBuilder().append('(').append(locator.getLineNumber()) 43 .append(',').append(locator.getColumnNumber()).append(')').toString(); 43 44 } 44 45 -
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r10433 r10462 893 893 case typeArchive: 894 894 if (archive != null) { 895 cacheName = "zip:"+archive.hashCode()+ ":"+cacheName;895 cacheName = "zip:"+archive.hashCode()+':'+cacheName; 896 896 ImageResource ir = cache.get(cacheName); 897 897 if (ir != null) return ir;
Note:
See TracChangeset
for help on using the changeset viewer.