Changeset 20765 in osm for applications/editors/josm/plugins/cadastre-fr
- Timestamp:
- 2010-04-01T02:04:01+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastreInterface.java
r20412 r20765 68 68 if (wmsLayer.getName().equals("")) 69 69 return false; 70 if (wmsLayer.getName().equals(lastWMSLayerName)) 70 boolean isCookieExpired = isCookieExpired(); 71 if (wmsLayer.getName().equals(lastWMSLayerName) && !isCookieExpired) 71 72 return true; 72 73 // open the session with the French Cadastre web front end 73 74 downloadCancelled = false; 74 75 try { 75 if (cookie == null || isCookieExpired ())76 if (cookie == null || isCookieExpired) { 76 77 getCookie(); 78 interfaceRef = null; 79 } 77 80 if (cookie == null) 78 81 throw new WMSException(tr("Cannot open a new client session.\nServer in maintenance or temporary overloaded.")); -
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/WMSLayer.java
r20659 r20765 188 188 Main.map.mapView.repaint(); 189 189 } 190 if (buildingsOnly) 191 joinBufferedImages(); 192 for (int i=lastSavedImage; i < images.size(); i++) 193 saveToCache(images.get(i)); 190 if (!cancelled) { 191 if (buildingsOnly) 192 joinBufferedImages(); 193 for (int i=lastSavedImage; i < images.size(); i++) 194 saveToCache(images.get(i)); 195 } 194 196 } 195 197
Note:
See TracChangeset
for help on using the changeset viewer.