Changeset 11510 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2017-01-29T23:58:49+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/CachedAttributionBingAerialTileSource.java
r11288 r11510 4 4 import java.io.IOException; 5 5 import java.io.StringReader; 6 import java.net.MalformedURLException; 6 7 import java.net.URL; 7 8 import java.util.List; … … 14 15 import org.openstreetmap.josm.gui.util.GuiHelper; 15 16 import org.openstreetmap.josm.io.CacheCustomContent; 17 import org.openstreetmap.josm.io.OnlineResource; 16 18 import org.openstreetmap.josm.tools.HttpClient; 17 19 import org.xml.sax.InputSource; … … 58 60 return r.getBytes("UTF-8"); 59 61 } 62 63 @Override 64 protected void checkOfflineAccess() { 65 try { 66 String attributionUrl = getAttributionUrl().toExternalForm(); 67 OnlineResource.ALL.checkOfflineAccess(attributionUrl, attributionUrl); 68 } catch (MalformedURLException e) { 69 Main.error(e); 70 } 71 } 60 72 } 61 73
Note:
See TracChangeset
for help on using the changeset viewer.