Revision 42811 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/vectorial/FLyrVect.java
FLyrVect.java | ||
---|---|---|
147 | 147 |
* @return VectorialAdapter. |
148 | 148 |
*/ |
149 | 149 |
public DataStore getDataStore() { |
150 |
if (!this.isAvailable()) { |
|
151 |
return null; |
|
152 |
} |
|
150 |
// if (!this.isAvailable()) {
|
|
151 |
// return null;
|
|
152 |
// }
|
|
153 | 153 |
return featureStore; |
154 | 154 |
} |
155 | 155 |
|
... | ... | |
315 | 315 |
+ (System.currentTimeMillis() - tini) + " milliseconds."); |
316 | 316 |
|
317 | 317 |
} catch (LegendException e) { |
318 |
this.setVisible(false);
|
|
319 |
this.setActive(false);
|
|
318 |
this.setAvailable(false);
|
|
319 |
this.setError(e);
|
|
320 | 320 |
throw new ReadException(getName(), e); |
321 | 321 |
} finally { |
322 | 322 |
if (spatialCache.isEnabled()) { |
Also available in: Unified diff