Changeset 8629 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2015-07-29T19:17:49+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/cache/CacheEntry.java
r8628 r8629 26 26 */ 27 27 public byte[] getContent() { 28 if (content == null) { 29 return new byte[]{}; 30 } 28 31 return Arrays.copyOf(content, content.length); 29 32 } -
trunk/src/org/openstreetmap/josm/gui/preferences/imagery/TMSSettingsPanel.java
r8598 r8629 13 13 14 14 import org.openstreetmap.josm.data.imagery.TMSCachedTileLoader; 15 import org.openstreetmap.josm.data.imagery.TMSCachedTileLoaderJob;16 15 import org.openstreetmap.josm.gui.layer.TMSLayer; 17 16 import org.openstreetmap.josm.tools.GBC; … … 44 43 TMSLayer.PROP_MAX_ZOOM_LVL.get().intValue(), TMSLayer.MIN_ZOOM, TMSLayer.MAX_ZOOM, 1)); 45 44 maxConcurrentDownloads = new JSpinner(new SpinnerNumberModel( 46 TMSCachedTileLoader Job.THREAD_LIMIT.get().intValue(), 0, Integer.MAX_VALUE, 1));45 TMSCachedTileLoader.THREAD_LIMIT.get().intValue(), 0, Integer.MAX_VALUE, 1)); 47 46 maxDownloadsPerHost = new JSpinner(new SpinnerNumberModel( 48 47 TMSCachedTileLoader.HOST_LIMIT.get().intValue(), 0, Integer.MAX_VALUE, 1)); … … 88 87 this.maxZoomLvl.setValue(TMSLayer.getMaxZoomLvl(null)); 89 88 this.minZoomLvl.setValue(TMSLayer.getMinZoomLvl(null)); 90 this.maxConcurrentDownloads.setValue(TMSCachedTileLoader Job.THREAD_LIMIT.get());89 this.maxConcurrentDownloads.setValue(TMSCachedTileLoader.THREAD_LIMIT.get()); 91 90 this.maxDownloadsPerHost.setValue(TMSCachedTileLoader.HOST_LIMIT.get()); 92 91 }
Note:
See TracChangeset
for help on using the changeset viewer.