Changeset 9007 in josm for trunk/src/org


Ignore:
Timestamp:
2015-11-15T11:05:27+01:00 (4 years ago)
Author:
wiktorn
Message:

Fix broken representation of URL-s in Imagery Preferences

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/ImageryInfo.java

    r8848 r9007  
    861861    public String getExtendedUrl() {
    862862        return imageryType.getTypeString() + (defaultMaxZoom != 0
    863             ? "["+(defaultMinZoom != 0 ? defaultMinZoom+',' : "")+defaultMaxZoom+"]" : "") + ':' + url;
     863            ? "["+(defaultMinZoom != 0 ? Integer.toString(defaultMinZoom) + ',' : "")+defaultMaxZoom+"]" : "") + ':' + url;
    864864    }
    865865
Note: See TracChangeset for help on using the changeset viewer.