Changeset 13545 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CacheControl.java
- Timestamp:
- 2009-02-05T01:00:53+01:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CacheControl.java
r13497 r13545 117 117 } catch (Exception ex) { 118 118 ex.printStackTrace(System.out); 119 JOptionPane 120 .showMessageDialog(Main.parent, tr("Error loading file"), tr("Error"), JOptionPane.ERROR_MESSAGE); 119 JOptionPane.showMessageDialog(Main.parent, tr("Error loading file"), tr("Error"), JOptionPane.ERROR_MESSAGE); 121 120 return false; 122 121 } … … 125 124 126 125 127 public boolean existCache() {128 try {129 /*130 File pathname = new File(CadastrePlugin.cacheDir);131 String[] fileNames = pathname.list();132 for (String fileName : fileNames) {133 System.out.println("check file:"+fileName);134 //WMSLayer cached = new WMSLayer(new File(cacheDir+fileName));135 }*/136 } catch (Exception e) {137 e.printStackTrace(System.out);138 }139 return false;140 }141 142 126 public synchronized void saveCache(GeorefImage image) { 143 127 imagesLock.lock();
Note:
See TracChangeset
for help on using the changeset viewer.
