Changeset 30495 in osm for applications/editors/josm/plugins/roadsigns/src
- Timestamp:
- 2014-06-14T14:05:38+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/roadsigns/src/org/openstreetmap/josm/plugins/roadsigns/RoadSignsPlugin.java
r30438 r30495 30 30 import org.openstreetmap.josm.gui.ExtendedDialog; 31 31 import org.openstreetmap.josm.gui.dialogs.properties.PropertiesDialog; 32 import org.openstreetmap.josm.io. MirroredInputStream;32 import org.openstreetmap.josm.io.CachedFile; 33 33 import org.openstreetmap.josm.plugins.Plugin; 34 34 import org.openstreetmap.josm.plugins.PluginInformation; … … 244 244 InputStream in = null; 245 245 if (source.startsWith("http://") || source.startsWith("https://") || source.startsWith("ftp://")) { 246 in = new MirroredInputStream(source);246 in = new CachedFile(source).getInputStream(); 247 247 } else if (source.startsWith("file:")) { 248 248 in = new URL(source).openStream();
Note:
See TracChangeset
for help on using the changeset viewer.