Permalink
Browse files

Not much to fix for gt-property

  • Loading branch information...
1 parent e818da0 commit 3fad1ea6f3adf23510b88c58688e9273271acd24 @jodygarnett jodygarnett committed Oct 30, 2012
@@ -22,6 +22,7 @@
import org.geotools.data.simple.SimpleFeatureStore;
import org.geotools.factory.CommonFactoryFinder;
import org.geotools.factory.Hints;
+import org.geotools.feature.DefaultFeatureCollection;
import org.geotools.feature.FeatureCollections;
import org.geotools.feature.simple.SimpleFeatureBuilder;
import org.opengis.feature.simple.SimpleFeature;
@@ -232,7 +233,7 @@ private static void replaceAll() throws Exception {
final SimpleFeatureType type = store.getSchema("example");
final FeatureWriter<SimpleFeatureType, SimpleFeature> writer;
SimpleFeature f;
- SimpleFeatureCollection collection = FeatureCollections.newCollection();
+ DefaultFeatureCollection collection = new DefaultFeatureCollection();
f = SimpleFeatureBuilder
.build(type, new Object[] { 1, "jody" }, "fid1");
collection.add(f);

0 comments on commit 3fad1ea

Please sign in to comment.