Changeset 18720 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CacheControl.java
- Timestamp:
- 2009-11-21T00:18:50+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CacheControl.java
r18544 r18720 22 22 import org.openstreetmap.josm.Main; 23 23 import org.openstreetmap.josm.data.projection.LambertCC9Zones; 24 import org.openstreetmap.josm.data.projection.UTM_20N_France_DOM; 24 25 25 26 public class CacheControl implements Runnable { 26 27 27 28 public static final String cLambertCC9Z = "CC"; 29 30 public static final String cUTM20N = "UTM"; 28 31 29 32 public class ObjectOutputStreamAppend extends ObjectOutputStream { … … 87 90 if (Main.proj instanceof LambertCC9Zones) 88 91 extension = cLambertCC9Z + extension; 92 else if (Main.proj instanceof UTM_20N_France_DOM) 93 extension = cUTM20N + extension; 89 94 File file = new File(CadastrePlugin.cacheDir + wmsLayer.getName() + "." + extension); 90 95 if (file.exists()) { … … 167 172 if (Main.proj instanceof LambertCC9Zones) 168 173 extension = cLambertCC9Z + extension; 174 else if (Main.proj instanceof UTM_20N_France_DOM) 175 extension = cUTM20N + extension; 169 176 File file = new File(CadastrePlugin.cacheDir + wmsLayer.getName() + "." + extension); 170 177 try {
Note:
See TracChangeset
for help on using the changeset viewer.