Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove deprecated methods from FeatureCollection

  • Loading branch information...
commit 0358c627a78acf6ad4a742cdb3fc53b55a0aaf0f 1 parent 550ea55
Jody Garnett jodygarnett authored
3  docs/src/main/java/org/geotools/tutorial/feature/Csv2Shape.java
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.