Skip to content

Commit

Permalink
Rename maybeGeometry to propertyValue in lambda
Browse files Browse the repository at this point in the history
jampukka committed May 14, 2021
1 parent 1da1ea4 commit e003cb9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -34,9 +34,9 @@ public static SimpleFeatureType getSchema(Map<String, Object> json, CoordinateRe
replaceGeometry(json, GeoJSONReader2::toGeometry);

if (ignoreGeometriesUnderProperties) {
replaceMapProperties(json, maybeGeometry -> isGeometry(maybeGeometry) ? null : maybeGeometry);
replaceMapProperties(json, propertyValue -> isGeometry(propertyValue) ? null : propertyValue);
} else {
replaceMapProperties(json, maybeGeometry -> propertyToGeometry(maybeGeometry).orElse(maybeGeometry));
replaceMapProperties(json, propertyValue -> propertyToGeometry(propertyValue).orElse(propertyValue));
}

Map<String, Class<?>> bindings = new HashMap<>();

0 comments on commit e003cb9

Please sign in to comment.