Permalink
Browse files

Remove deprecated methods from FeatureCollection

  • Loading branch information...
1 parent 550ea55 commit 0358c627a78acf6ad4a742cdb3fc53b55a0aaf0f @jodygarnett jodygarnett committed Sep 17, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 docs/src/main/java/org/geotools/tutorial/feature/Csv2Shape.java
@@ -71,8 +71,7 @@ public static void main(String[] args) throws Exception {
/*
* A list to collect features as we create them.
*/
- List<SimpleFeature> features = new ArrayList<SimpleFeature>();
-
+ ListFeatureCollection collection = new ListFeatureCollection( TYPE );
/*
* GeometryFactory will be used to create the geometry attribute of each feature (a Point
* object for the location)

0 comments on commit 0358c62

Please sign in to comment.