Revision 38994 branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/impl/DefaultFeatureStore.java

View differences:

DefaultFeatureStore.java
1167 1167
    synchronized public void finishEditing() throws DataException {
1168 1168
        LOG.debug("finish editing of mode: {}", new Integer(mode));
1169 1169
        try {
1170
            
1171
            /*
1172
             * Selection needs to be cleared when editing stops
1173
             * to prevent conflicts with selection remaining from
1174
             * editing mode.
1175
             */
1176
            ((FeatureSelection) this.getSelection()).deselectAll();
1177
            
1170 1178
            switch (mode) {
1171 1179
            case MODE_QUERY:
1172 1180
                throw new NeedEditingModeException(this.getName());

Also available in: Unified diff