Revision 47430 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.mapcontext/org.gvsig.fmap.mapcontext.api/src/main/java/org/gvsig/fmap/mapcontext/layers/SpatialCache.java

View differences:

SpatialCache.java
187 187
    }
188 188
    
189 189
    public synchronized void refresh(String name, FeatureStore store, Envelope envelope, IProjection projection) {
190
        if( store == null  
191
                || envelope == null || envelope.isEmpty() || envelope.isCollapsed() 
192
                || projection == null ) {
193
            return;
194
        }
190 195
        removeAll();
191 196
        this.refreshTask = new AbstractCancellableTask("SpatialCacheRefresh_"+name) {
192 197
            @Override

Also available in: Unified diff