Changeset 35912 in osm for applications/viewer/jmapviewer/src/org
- Timestamp:
- 2022-02-09T14:04:19+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/tilesources/TemplatedTMSTileSource.java
r35526 r35912 1 // License: GPL. For details, see Readme.txt file. 1 // License: GPL. For details, see Readme.txt file. 2 2 package org.openstreetmap.gui.jmapviewer.tilesources; 3 3 … … 54 54 private static final Pattern PATTERN_PARAM = Pattern.compile("\\{((?:\\d+-)?z(?:oom)?(:?[+-]\\d+)?|x|y|!y|-y|switch:([^}]+))\\}"); 55 55 56 /**57 * Pattern used only for compatibility with older JOSM clients. To remove end of 2020, with an update of JOSM wiki58 * @deprecated to remove end of 202059 */60 @Deprecated61 private static final Pattern PATTERN_API_KEY_COMPATIBILITY = Pattern.compile("_apiKey_");62 56 // CHECKSTYLE.ON: SingleSpaceSeparator 63 57 … … 111 105 throw new IllegalArgumentException(e); 112 106 } 113 }, PATTERN_API_KEY , PATTERN_API_KEY_COMPATIBILITY);107 }, PATTERN_API_KEY); 114 108 } 115 109 // Capturing group pattern on zoom values
Note:
See TracChangeset
for help on using the changeset viewer.