Changeset 15059 in josm


Ignore:
Timestamp:
2019-05-07T20:54:49+02:00 (7 months ago)
Author:
Don-vip
Message:

see #16301 - suppress icon warning (on the correct enum this time)

File:
1 edited

Legend:

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

    r15057 r15059  
    6262    public enum ImageryType {
    6363        /** A WMS (Web Map Service) entry. **/
    64         WMS(/* ICON(data/imagery/) */ "wms"),
     64        WMS("wms"),
    6565        /** A TMS (Tile Map Service) entry. **/
    66         TMS(/* ICON(data/imagery/) */ "tms"),
     66        TMS("tms"),
    6767        /** TMS entry for Microsoft Bing. */
    68         BING(/* ICON(data/imagery/) */ "bing"),
     68        BING("bing"),
    6969        /** TMS entry for Russian company <a href="https://wiki.openstreetmap.org/wiki/WikiProject_Russia/kosmosnimki">ScanEx</a>. **/
    70         SCANEX(/* ICON(data/imagery/) */ "scanex"),
     70        SCANEX("scanex"),
    7171        /** A WMS endpoint entry only stores the WMS server info, without layer, which are chosen later by the user. **/
    72         WMS_ENDPOINT(/* ICON(data/imagery/) */ "wms_endpoint"),
     72        WMS_ENDPOINT("wms_endpoint"),
    7373        /** WMTS stores GetCapabilities URL. Does not store any information about the layer **/
    74         WMTS(/* ICON(data/imagery/) */ "wmts");
     74        WMTS("wmts");
    7575
    7676        private final String typeString;
     
    110110    public enum ImageryCategory {
    111111        /** A aerial or satellite photo. **/
    112         PHOTO("photo", tr("Aerial or satellite photo")),
     112        PHOTO(/* ICON(data/imagery/) */ "photo", tr("Aerial or satellite photo")),
    113113        /** A map. **/
    114         MAP("map", tr("Map")),
     114        MAP(/* ICON(data/imagery/) */ "map", tr("Map")),
    115115        /** A historic or otherwise outdated map. */
    116         HISTORICMAP("historicmap", tr("Historic or otherwise outdated map")),
     116        HISTORICMAP(/* ICON(data/imagery/) */ "historicmap", tr("Historic or otherwise outdated map")),
    117117        /** A map based on OSM data. **/
    118         OSMBASEDMAP("osmbasedmap", tr("Map based on OSM data")),
     118        OSMBASEDMAP(/* ICON(data/imagery/) */ "osmbasedmap", tr("Map based on OSM data")),
    119119        /** A historic or otherwise outdated aerial or satellite photo. **/
    120         HISTORICPHOTO("historicphoto", tr("Historic or otherwise outdated aerial or satellite photo")),
     120        HISTORICPHOTO(/* ICON(data/imagery/) */ "historicphoto", tr("Historic or otherwise outdated aerial or satellite photo")),
    121121        /** Any other type of imagery **/
    122         OTHER("other", tr("Imagery not matching any other category"));
     122        OTHER(/* ICON(data/imagery/) */ "other", tr("Imagery not matching any other category"));
    123123
    124124        private final String category;
Note: See TracChangeset for help on using the changeset viewer.