Changeset 4638 in josm for trunk/src/org/openstreetmap/josm/io
- Timestamp:
- 2011-12-05T17:54:30+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/MirroredInputStream.java
r4612 r4638 154 154 { 155 155 String prefKey = getPrefKey(url, destDir); 156 Collection<String> localPath = Main.pref.getCollection(prefKey); 157 if(localPath.size() == 2) { 158 String[] lp = (String[]) localPath.toArray(); 159 File lfile = new File(lp[1]); 156 List<String> localPath = new ArrayList<String>(Main.pref.getCollection(prefKey)); 157 if (localPath.size() == 2) { 158 File lfile = new File(localPath.get(1)); 160 159 if(lfile.exists()) { 161 160 lfile.delete();
Note:
See TracChangeset
for help on using the changeset viewer.