Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…atureCollectionHandler
  • Loading branch information...
commit 8b69e522c3fec6c042c4d683fcb061f777a508bd 1 parent 0ba968e
Justin Deoliveira jdeolive authored
4 modules/unsupported/geojson/src/main/java/org/geotools/geojson/feature/FeatureCollectionHandler.java
@@ -43,6 +43,10 @@
43 43 CoordinateReferenceSystem crs;
44 44 List stack;
45 45
  46 + public FeatureCollectionHandler() {
  47 + this(null, null);
  48 + }
  49 +
46 50 public FeatureCollectionHandler(SimpleFeatureType featureType, AttributeIO attio) {
47 51 if (featureType != null) {
48 52 builder = new SimpleFeatureBuilder(featureType);
6 modules/unsupported/geojson/src/main/java/org/geotools/geojson/feature/FeatureHandler.java
@@ -50,7 +50,11 @@
50 50 AttributeIO attio;
51 51
52 52 SimpleFeature feature;
53   -
  53 +
  54 + public FeatureHandler() {
  55 + this(null, new DefaultAttributeIO());
  56 + }
  57 +
54 58 public FeatureHandler(SimpleFeatureBuilder builder, AttributeIO attio) {
55 59 this.builder = builder;
56 60 this.attio = attio;

0 comments on commit 8b69e52

Please sign in to comment.
Something went wrong with that request. Please try again.