Revision 23046
trunk/libraries/libTopology/src/org/gvsig/jump/adapter/FeatureCollectionDataSourceAdapter.java | ||
---|---|---|
25 | 25 |
|
26 | 26 |
import java.awt.geom.Rectangle2D; |
27 | 27 |
import java.sql.Types; |
28 |
import java.util.ArrayList; |
|
28 | 29 |
import java.util.Date; |
29 | 30 |
import java.util.List; |
30 | 31 |
|
... | ... | |
39 | 40 |
import com.hardcode.gdbms.engine.values.Value; |
40 | 41 |
import com.hardcode.gdbms.engine.values.ValueFactory; |
41 | 42 |
import com.iver.cit.gvsig.exceptions.expansionfile.ExpansionFileReadException; |
43 |
import com.iver.cit.gvsig.fmap.core.IFeature; |
|
42 | 44 |
import com.iver.cit.gvsig.fmap.core.IGeometry; |
43 | 45 |
import com.iver.cit.gvsig.fmap.drivers.DriverAttributes; |
44 | 46 |
import com.iver.cit.gvsig.fmap.drivers.FeatureCollectionMemoryDriver; |
... | ... | |
77 | 79 |
FeatureCollection fc, |
78 | 80 |
FeatureSchemaLayerDefinitionAdapter schema){ |
79 | 81 |
|
80 |
super(name, null, null);
|
|
82 |
super(name, new ArrayList<IFeature>(), null);
|
|
81 | 83 |
this.fc = fc; |
82 | 84 |
this.features = fc.getFeatures(); |
83 | 85 |
this.schema = schema; |
Also available in: Unified diff