Changeset 13743 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2018-05-13T09:16:14+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/LayerDetails.java
r13742 r13743 53 53 } 54 54 ret.addAll(crs); 55 return crs;55 return ret; 56 56 } 57 57 -
trunk/src/org/openstreetmap/josm/data/imagery/TMSCachedTileLoaderJob.java
r13733 r13743 37 37 import org.openstreetmap.josm.tools.Utils; 38 38 39 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 40 39 41 /** 40 42 * Class bridging TMS requests to JCS cache requests … … 65 67 * @param downloadExecutor that will be executing the jobs 66 68 */ 69 @SuppressFBWarnings(value = "JLM_JSR166_UTILCONCURRENT_MONITORENTER") 67 70 public TMSCachedTileLoaderJob(TileLoaderListener listener, Tile tile, 68 71 ICacheAccess<String, BufferedImageCacheEntry> cache, -
trunk/src/org/openstreetmap/josm/gui/preferences/imagery/AddWMTSLayerPanel.java
r13742 r13743 76 76 layerPanel.add(scrollPane, GBC.eol().fill()); 77 77 layerPanel.revalidate(); 78 } catch ( Exception ex) {78 } catch (IOException | WMTSGetCapabilitiesException ex) { 79 79 JOptionPane.showMessageDialog( 80 80 getParent(), -
trunk/src/org/openstreetmap/josm/io/imagery/ImageryReader.java
r13742 r13743 354 354 switch(qName) { 355 355 case "type": 356 ImageryType.values();357 356 boolean found = false; 358 357 for (ImageryType type : ImageryType.values()) { … … 524 523 break; 525 524 case "minimum-tile-expire": 526 entry.setMinimumTileExpire(Integer. valueOf(accumulator.toString()));525 entry.setMinimumTileExpire(Integer.parseInt(accumulator.toString())); 527 526 break; 528 527 default: // Do nothing -
trunk/src/org/openstreetmap/josm/io/imagery/WMSImagery.java
r13742 r13743 574 574 } 575 575 if (conv != null) { 576 new Bounds(576 return new Bounds( 577 577 conv.eastNorth2latlon(new EastNorth(getDecimalDegree(minx), getDecimalDegree(miny))), 578 578 conv.eastNorth2latlon(new EastNorth(getDecimalDegree(maxx), getDecimalDegree(maxy)))
Note:
See TracChangeset
for help on using the changeset viewer.