Revision 23532 branches/v2_0_0_prep/libraries/libFMap_data/src/org/gvsig/fmap/data/feature/joinstore/JoinFeatureStore.java

View differences:

JoinFeatureStore.java
35 35
import java.util.ConcurrentModificationException;
36 36
import java.util.HashMap;
37 37
import java.util.Iterator;
38
import java.util.List;
39 38
import java.util.Map;
40 39

  
41 40
import org.gvsig.fmap.data.CloseException;
......
134 133
	}
135 134

  
136 135
	/* (non-Javadoc)
137
	 * @see org.gvsig.fmap.data.feature.FeatureStore#getFeatureTypes()
138
	 */
139
	public List getFeatureTypes() {
140
		this.checkChanged();
141
		ArrayList list = new ArrayList();
142
		list.add(this.getDefaultFeatureType());
143
		return list;
144
	}
145

  
146
	/* (non-Javadoc)
147 136
	 * @see org.gvsig.fmap.data.FeatureStore#doClose()
148 137
	 */
149 138
	protected void doClose() throws CloseException {
......
293 282
			}
294 283
		}
295 284
		this.defaultFeatureType = fType;
285
		this.featureTypes = new ArrayList();
286
		this.featureTypes.add(defaultFeatureType);
287

  
296 288
	}
297 289

  
298 290
	public void init(DataStoreParameters parameters) throws InitializeException {

Also available in: Unified diff