Changeset 13439 in josm for trunk/src/org


Ignore:
Timestamp:
2018-02-18T17:20:31+01:00 (7 years ago)
Author:
Don-vip
Message:

see #15940 - WMTS: case-insensitive matching of dimensions + fix typo

Location:
trunk/src/org/openstreetmap/josm/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/cache/CacheEntryAttributes.java

    r12865 r13439  
    2727    private static final String LAST_MODIFICATION = "lastModification";
    2828    private static final String EXPIRATION_TIME = "expirationTime";
    29     private static final String HTTP_RESPONSE_CODE = "httpResponceCode";
     29    private static final String HTTP_RESPONSE_CODE = "httpResponseCode";
    3030    private static final String ERROR_MESSAGE = "errorMessage";
    3131    // this contains all of the above
  • trunk/src/org/openstreetmap/josm/data/imagery/WMTSTileSource.java

    r13429 r13439  
    784784
    785785        for (Dimension d : currentLayer.dimensions) {
    786             url = url.replaceAll("\\{"+d.identifier+"\\}", d.defaultValue);
     786            url = url.replaceAll("(?i)\\{"+d.identifier+"\\}", d.defaultValue);
    787787        }
    788788
Note: See TracChangeset for help on using the changeset viewer.