Skip to content

Commit

Permalink
mvn spotless:apply
Browse files Browse the repository at this point in the history
  • Loading branch information
phanecak-maptiler committed Mar 28, 2024
1 parent ea95a6c commit baeb879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/openmaptiles/layers/Water.java
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit baeb879

Please sign in to comment.