Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…atureCollectionHandler
  • Loading branch information...
commit 8b69e522c3fec6c042c4d683fcb061f777a508bd 1 parent 0ba968e
jdeolive authored
4 modules/unsupported/geojson/src/main/java/org/geotools/geojson/feature/FeatureCollectionHandler.java
View
@@ -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);
6 modules/unsupported/geojson/src/main/java/org/geotools/geojson/feature/FeatureHandler.java
View
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.