Permalink
Browse files

GEOT-4100, adding some default connstructors to FeatureHandler and Fe…

…atureCollectionHandler
  • Loading branch information...
1 parent 0ba968e commit 8b69e522c3fec6c042c4d683fcb061f777a508bd jdeolive committed Aug 3, 2012
View
4 ...upported/geojson/src/main/java/org/geotools/geojson/feature/FeatureCollectionHandler.java
@@ -43,6 +43,10 @@
CoordinateReferenceSystem crs;
List stack;
+ public FeatureCollectionHandler() {
+ this(null, null);
+ }
+
public FeatureCollectionHandler(SimpleFeatureType featureType, AttributeIO attio) {
if (featureType != null) {
builder = new SimpleFeatureBuilder(featureType);
View
6 modules/unsupported/geojson/src/main/java/org/geotools/geojson/feature/FeatureHandler.java
@@ -50,7 +50,11 @@
AttributeIO attio;
SimpleFeature feature;
-
+
+ public FeatureHandler() {
+ this(null, new DefaultAttributeIO());
+ }
+
public FeatureHandler(SimpleFeatureBuilder builder, AttributeIO attio) {
this.builder = builder;
this.attio = attio;

0 comments on commit 8b69e52

Please sign in to comment.