Revision 44077 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

View differences:

DefaultFeatureStore.java
40 40
import java.util.Map;
41 41
import java.util.Map.Entry;
42 42
import java.util.Set;
43
import java.util.logging.Level;
43 44

  
44 45
import org.apache.commons.io.FilenameUtils;
45 46
import org.apache.commons.lang3.StringUtils;
......
2750 2751
        if( this.timeSupport!=null ) {
2751 2752
            return this.timeSupport.getInterval();
2752 2753
        }
2754
        try {
2755
            FeatureType type = this.getDefaultFeatureType();
2756
            FeatureAttributeDescriptor attr = type.getDefaultTimeAttribute();
2757
            if( attr!=null ) {
2758
                Interval interval = attr.getInterval();
2759
                if( interval!=null ) {
2760
                    return interval;
2761
                }
2762
            }
2763
        } catch (DataException ex) {
2764
        }
2753 2765
        return this.provider.getInterval();
2754 2766
    }
2755 2767

  

Also available in: Unified diff