Ignore:
Timestamp:
2022-02-09T14:04:19+01:00 (3 years ago)
Author:
stoecker
Message:

see #21844 - drop compatibility

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.
    22package org.openstreetmap.gui.jmapviewer.tilesources;
    33
     
    5454    private static final Pattern PATTERN_PARAM  = Pattern.compile("\\{((?:\\d+-)?z(?:oom)?(:?[+-]\\d+)?|x|y|!y|-y|switch:([^}]+))\\}");
    5555
    56     /**
    57      * Pattern used only for compatibility with older JOSM clients. To remove end of 2020, with an update of JOSM wiki
    58      * @deprecated to remove end of 2020
    59      */
    60     @Deprecated
    61     private static final Pattern PATTERN_API_KEY_COMPATIBILITY = Pattern.compile("_apiKey_");
    6256    // CHECKSTYLE.ON: SingleSpaceSeparator
    6357
     
    111105                    throw new IllegalArgumentException(e);
    112106                }
    113             }, PATTERN_API_KEY, PATTERN_API_KEY_COMPATIBILITY);
     107            }, PATTERN_API_KEY);
    114108        }
    115109        // Capturing group pattern on zoom values
Note: See TracChangeset for help on using the changeset viewer.