Ignore:
Timestamp:
2009-09-20T13:52:03+02:00 (15 years ago)
Author:
pieren
Message:

Fix delays on raster cache saving; small issue fixed in file selection dialog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/WMSLayer.java

    r17089 r17719  
    130130            saveToCache(newImage);
    131131            Main.map.mapView.repaint();
    132             /*
    133             try { if (dividedBbox.size() > 1) Thread.sleep(1000);
    134             } catch (InterruptedException e) {};*/
    135132        }
    136133    }
     
    346343     * @throws IOException
    347344     */
    348     public void write(ObjectOutputStream oos, ArrayList<GeorefImage> imgs) throws IOException {
     345    public void write(ObjectOutputStream oos) throws IOException {
    349346        oos.writeInt(this.serializeFormatVersion);
    350347        oos.writeObject(this.location);
     
    358355        }
    359356        oos.writeObject(this.communeBBox);
    360         synchronized(this){
    361             for (GeorefImage img : imgs) {
    362                 oos.writeObject(img);
    363             }
    364         }
    365357    }
    366358
Note: See TracChangeset for help on using the changeset viewer.