diff --git a/planetiler-core/src/main/java/com/onthegomap/planetiler/reader/osm/OsmMultipolygon.java b/planetiler-core/src/main/java/com/onthegomap/planetiler/reader/osm/OsmMultipolygon.java index 16a110a41d..a050796fae 100644 --- a/planetiler-core/src/main/java/com/onthegomap/planetiler/reader/osm/OsmMultipolygon.java +++ b/planetiler-core/src/main/java/com/onthegomap/planetiler/reader/osm/OsmMultipolygon.java @@ -60,7 +60,7 @@ private static class Ring { private final Polygon geom; private final double area; private Ring containedBy = null; - // use linked hash set to ensure stable output + // use linked hash set to ensure same input always produces same output private final Set holes = new LinkedHashSet<>(); private Ring(Polygon geom) { @@ -226,7 +226,7 @@ private static void addPolygonRings(List polygons, Geometry geom) { } private static Set groupParentChildShells(List polygons) { - // use linked hash sate to ensure the same input always produces the same output + // use linked hash set to ensure the same input always produces the same output Set shells = new LinkedHashSet<>(); int numPolygons = polygons.size(); if (numPolygons == 0) {