- Timestamp:
- 2016-05-11T05:09:45+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/TMSLayer.java
r9899 r10184 31 31 * @author Dave Hansen <dave@sr71.net> 32 32 * @author Upliner <upliner@gmail.com> 33 * 33 * @since 3715 34 34 */ 35 35 public class TMSLayer extends AbstractCachedTileSourceLayer<TMSTileSource> implements NativeScaleLayer { … … 72 72 */ 73 73 @Override 74 protected TMSTileSource getTileSource(ImageryInfo info) throws IllegalArgumentException{74 protected TMSTileSource getTileSource(ImageryInfo info) { 75 75 return getTileSourceStatic(info, new Runnable() { 76 76 @Override … … 104 104 * @throws IllegalArgumentException if url from imagery info is null or invalid 105 105 */ 106 public static AbstractTMSTileSource getTileSourceStatic(ImageryInfo info) throws IllegalArgumentException{106 public static AbstractTMSTileSource getTileSourceStatic(ImageryInfo info) { 107 107 return getTileSourceStatic(info, null); 108 108 } … … 121 121 * @throws IllegalArgumentException if url from imagery info is null or invalid 122 122 */ 123 public static TMSTileSource getTileSourceStatic(ImageryInfo info, Runnable attributionLoadedTask) throws IllegalArgumentException{123 public static TMSTileSource getTileSourceStatic(ImageryInfo info, Runnable attributionLoadedTask) { 124 124 if (info.getImageryType() == ImageryType.TMS) { 125 125 TemplatedTMSTileSource.checkUrl(info.getUrl());
Note:
See TracChangeset
for help on using the changeset viewer.