Changeset 13757 in josm for trunk/src


Ignore:
Timestamp:
2018-05-13T15:44:52+02:00 (7 years ago)
Author:
wiktorn
Message:

Change camelCase to hyphen-case for imagery attributes

See: #16249, #15940

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/imagery/ImageryReader.java

    r13743 r13757  
    258258                    metadataHeaders.put(atts.getValue("header-name"), atts.getValue("metadata-key"));
    259259                    newState = State.METADATA;
    260                 } else if ("defaultLayers".equals(qName)) {
     260                } else if ("default-layers".equals(qName)) {
    261261                    newState = State.DEFAULT_LAYERS;
    262262                } else if ("custom-http-header".equals(qName)) {
     
    294294                            atts.getValue("name"),
    295295                            atts.getValue("style"),
    296                             atts.getValue("tileMatrixSet")
     296                            atts.getValue("tile-matrix-set")
    297297                            ));
    298298                }
Note: See TracChangeset for help on using the changeset viewer.