- Timestamp:
- 2015-11-29T21:40:38+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/WMTSTileSource.java
r9068 r9069 308 308 * @throws XMLStreamException See {@link XMLStreamReader} 309 309 */ 310 private static finalCollection<Layer> parseContents(XMLStreamReader reader) throws XMLStreamException {310 private static Collection<Layer> parseContents(XMLStreamReader reader) throws XMLStreamException { 311 311 Map<String, TileMatrixSet> matrixSetById = new ConcurrentHashMap<>(); 312 312 Collection<Layer> layers = new ArrayList<>(); … … 343 343 * @throws XMLStreamException See {@link XMLStreamReader} 344 344 */ 345 private static finalLayer parseLayer(XMLStreamReader reader) throws XMLStreamException {345 private static Layer parseLayer(XMLStreamReader reader) throws XMLStreamException { 346 346 Layer layer = new Layer(); 347 347 … … 383 383 * @throws XMLStreamException See {@link XMLStreamReader} 384 384 */ 385 private static finalString praseTileMatrixSetLink(XMLStreamReader reader) throws XMLStreamException {385 private static String praseTileMatrixSetLink(XMLStreamReader reader) throws XMLStreamException { 386 386 String ret = null; 387 387 for (int event = reader.getEventType(); … … 402 402 * @throws XMLStreamException See {@link XMLStreamReader} 403 403 */ 404 private static finalTileMatrixSet parseTileMatrixSet(XMLStreamReader reader) throws XMLStreamException {404 private static TileMatrixSet parseTileMatrixSet(XMLStreamReader reader) throws XMLStreamException { 405 405 TileMatrixSet matrixSet = new TileMatrixSet(); 406 406 for (int event = reader.getEventType(); … … 429 429 * @throws XMLStreamException See {@link XMLStreamReader} 430 430 */ 431 private static finalTileMatrix parseTileMatrix(XMLStreamReader reader, String matrixCrs) throws XMLStreamException {431 private static TileMatrix parseTileMatrix(XMLStreamReader reader, String matrixCrs) throws XMLStreamException { 432 432 Projection matrixProj = Projections.getProjectionByCode(matrixCrs); 433 433 TileMatrix ret = new TileMatrix(); … … 509 509 * @throws XMLStreamException See {@link XMLStreamReader} 510 510 */ 511 private static finalTransferMode getTransferMode(XMLStreamReader reader) throws XMLStreamException {511 private static TransferMode getTransferMode(XMLStreamReader reader) throws XMLStreamException { 512 512 QName GET_QNAME = new QName(OWS_NS_URL, "Get"); 513 513 … … 539 539 * @throws XMLStreamException See {@link XMLStreamReader} 540 540 */ 541 private static finalboolean moveReaderToTag(XMLStreamReader reader, QName[] tags) throws XMLStreamException {541 private static boolean moveReaderToTag(XMLStreamReader reader, QName[] tags) throws XMLStreamException { 542 542 QName stopTag = reader.getName(); 543 543 int currentLevel = 0; … … 582 582 } 583 583 584 private static finalString normalizeCapabilitiesUrl(String url) throws MalformedURLException {584 private static String normalizeCapabilitiesUrl(String url) throws MalformedURLException { 585 585 URL inUrl = new URL(url); 586 586 URL ret = new URL(inUrl.getProtocol(), inUrl.getHost(), inUrl.getPort(), inUrl.getFile()); … … 588 588 } 589 589 590 private static finalString crsToCode(String crsIdentifier) {590 private static String crsToCode(String crsIdentifier) { 591 591 if (crsIdentifier.startsWith("urn:ogc:def:crs:")) { 592 592 return crsIdentifier.replaceFirst("urn:ogc:def:crs:([^:]*):.*:(.*)$", "$1:$2");
Note:
See TracChangeset
for help on using the changeset viewer.