Revision 47660

View differences:

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/DefaultFeatureStore.java
3818 3818
    public ResourcesStorage getResourcesStorage() {
3819 3819
        if (this.resourcesStorage != null) {
3820 3820
            if(this.resourcesStorage instanceof SupportTransactions){
3821
                ((SupportTransactions)this.resourcesStorage).setTransaction(this.getTransaction());
3821
                if( this.getTransaction()!=null ) {
3822
                    try {
3823
                        this.getTransaction().add(((SupportTransactions)this.resourcesStorage), false);
3824
                    } catch (DataException ex) {
3825
                        LOGGER.warn("Can't get resources storage, don't add to transaction",ex);
3826
                        return null;
3827
                    }
3828
                }
3829
//                ((SupportTransactions)this.resourcesStorage).setTransaction(this.getTransaction());
3822 3830
            }
3823 3831
            DisposeUtils.bind(this.resourcesStorage);
3824 3832
            return this.resourcesStorage;

Also available in: Unified diff