diff --git a/src/main/java/org/openmaptiles/layers/Water.java b/src/main/java/org/openmaptiles/layers/Water.java index c0262415..5a7cf7b9 100644 --- a/src/main/java/org/openmaptiles/layers/Water.java +++ b/src/main/java/org/openmaptiles/layers/Water.java @@ -211,7 +211,7 @@ void fillOsmIdIntoNeLake(Tables.OsmWaterPolygon element) { for (var index : neLakeIndexes.values()) { var items = index.query(envelope); if (items.size() == 1) { - if (items.getFirst() instanceof LakeInfo lakeInfo) { + if (items.getFirst()instanceof LakeInfo lakeInfo) { fillOsmIdIntoNeLake(element, geom, lakeInfo); } } else if (!items.isEmpty()) {