Revision 43646 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/fmap/dal/feature/impl/DefaultFeatureSelection.java
DefaultFeatureSelection.java | ||
---|---|---|
551 | 551 |
if (feature == null) { |
552 | 552 |
return false; |
553 | 553 |
} |
554 |
|
|
554 |
if( this.featureReferenceSelection.isEmpty() ) { |
|
555 |
return false; |
|
556 |
} |
|
555 | 557 |
// Use the selection data size as a small optimization for the most |
556 | 558 |
// common case, when nothing is selected and every feature is checked |
557 | 559 |
// while drawing or painting the table document. |
... | ... | |
741 | 743 |
|
742 | 744 |
@Override |
743 | 745 |
protected void doAccept(Visitor visitor, long firstValueIndex, long elements) throws BaseException { |
746 |
if( this.featureReferenceSelection.isEmpty() ) { |
|
747 |
return; |
|
748 |
} |
|
744 | 749 |
DisposableIterator iterator = fastIterator(firstValueIndex, elements); |
745 | 750 |
if (iterator != null) { |
746 | 751 |
try { |
Also available in: Unified diff