Ignore:
Timestamp:
2024-03-11T21:33:09+01:00 (10 months ago)
Author:
taylor.smock
Message:

Fix some lint issues in JMapViewer

This additionally updates some dependencies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/viewer/jmapviewer/test/org/openstreetmap/gui/jmapviewer/tilesources/TemplatedTMSTileSourceTest.java

    r36140 r36223  
    88import java.util.Arrays;
    99import java.util.Collection;
     10import java.util.Collections;
    1011import java.util.function.Predicate;
    1112import java.util.stream.Stream;
     
    1415
    1516/**
    16  * Tests for TemplaedTMSTileSource
     17 * Tests for TemplatedTMSTileSource
    1718 */
    1819public class TemplatedTMSTileSourceTest {
    1920
    20     private static final Collection<String> TMS_IMAGERIES = Arrays.asList(new String[]{
    21             "http://imagico.de/map/osmim_tiles.php?layer=S2A_R136_N41_20150831T093006&z={zoom}&x={x}&y={-y}",
     21    private static final Collection<String> TMS_IMAGERIES = Collections.singleton("http://imagico.de/map/osmim_tiles.php?layer=S2A_R136_N41_20150831T093006&z={zoom}&x={x}&y={-y}"
    2222            /*
    2323             *  generate for example with:
     
    2525             *    xmlstarlet sel -N 'josm=http://josm.openstreetmap.de/maps-1.0' -t -v "//josm:entry[josm:type='tms']/josm:url" -n  | \
    2626             *    sed -e 's/\&amp;/\&/g' -e 's/^/"/' -e 's/$/",/'
    27              */
    28     });
     27             */);
    2928
    3029    /**
Note: See TracChangeset for help on using the changeset viewer.