From 142d96ab5dc993df627435b06934081c620232f5 Mon Sep 17 00:00:00 2001 From: Mike Barry Date: Fri, 12 Jan 2024 06:42:48 -0500 Subject: [PATCH] comments --- .../com/onthegomap/planetiler/reader/osm/OsmMultipolygon.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {