Skip to content

Commit

Permalink
fix merge issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron Mace committed Jan 18, 2018
1 parent 5868fa6 commit 068b16d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public static FeatureCollection fromFeatures(@NonNull List<Feature> features) {
public static FeatureCollection fromFeature(@NonNull Feature feature) {
List<Feature> featureList = new ArrayList<>();
featureList.add(feature);
return new AutoValue_FeatureCollection(null, featureList);
return new AutoValue_FeatureCollection(TYPE, null, featureList);
}

/**
Expand Down Expand Up @@ -147,7 +147,7 @@ public static FeatureCollection fromFeature(@NonNull Feature feature,
@Nullable BoundingBox bbox) {
List<Feature> featureList = new ArrayList<>();
featureList.add(feature);
return new AutoValue_FeatureCollection(bbox, featureList);
return new AutoValue_FeatureCollection(TYPE, bbox, featureList);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public static GeometryCollection fromGeometries(@NonNull List<Geometry> geometri
public static GeometryCollection fromGeometry(@NonNull Geometry geometry) {
List<Geometry> geometries = new ArrayList<>();
geometries.add(geometry);
return new AutoValue_GeometryCollection(null, geometries);
return new AutoValue_GeometryCollection(TYPE, null, geometries);
}

/**
Expand Down Expand Up @@ -136,7 +136,7 @@ public static GeometryCollection fromGeometry(@NonNull Geometry geometry,
@Nullable BoundingBox bbox) {
List<Geometry> geometries = new ArrayList<>();
geometries.add(geometry);
return new AutoValue_GeometryCollection(bbox, geometries);
return new AutoValue_GeometryCollection(TYPE, bbox, geometries);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public static MultiLineString fromLineStrings(@NonNull List<LineString> lineStri
public static MultiLineString fromLineString(@NonNull LineString lineString) {
List<List<Point>> coordinates = new ArrayList<>();
coordinates.add(lineString.coordinates());
return new AutoValue_MultiLineString(null, coordinates);
return new AutoValue_MultiLineString(TYPE, null, coordinates);
}

/**
Expand Down Expand Up @@ -142,7 +142,7 @@ public static MultiLineString fromLineString(@NonNull LineString lineString,
@Nullable BoundingBox bbox) {
List<List<Point>> coordinates = new ArrayList<>();
coordinates.add(lineString.coordinates());
return new AutoValue_MultiLineString(bbox, coordinates);
return new AutoValue_MultiLineString(TYPE, bbox, coordinates);
}

/**
Expand Down

0 comments on commit 068b16d

Please sign in to comment.