This is an automated email from the ASF dual-hosted git repository.

jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git


The following commit(s) were added to refs/heads/master by this push:
     new 16dbd9fcb [DOCS] Fix spelling in Java files (#1624)
16dbd9fcb is described below

commit 16dbd9fcba19c2ec4a3bd0fb52168e37eedba9fc
Author: John Bampton <[email protected]>
AuthorDate: Sun Oct 13 11:56:25 2024 +1000

    [DOCS] Fix spelling in Java files (#1624)
---
 common/src/main/java/org/apache/sedona/common/utils/GeomUtils.java | 2 +-
 common/src/main/java/org/apache/sedona/common/utils/H3Utils.java   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/common/src/main/java/org/apache/sedona/common/utils/GeomUtils.java 
b/common/src/main/java/org/apache/sedona/common/utils/GeomUtils.java
index 9ec7d4739..93fba33d7 100644
--- a/common/src/main/java/org/apache/sedona/common/utils/GeomUtils.java
+++ b/common/src/main/java/org/apache/sedona/common/utils/GeomUtils.java
@@ -344,7 +344,7 @@ public class GeomUtils {
   }
 
   /**
-   * Checks if the geoemetry pair - <code>left</code> and <code>right</code> - 
should be handled be
+   * Checks if the geometry pair - <code>left</code> and <code>right</code> - 
should be handled be
    * the current partition - <code>extent</code>.
    *
    * @param left
diff --git a/common/src/main/java/org/apache/sedona/common/utils/H3Utils.java 
b/common/src/main/java/org/apache/sedona/common/utils/H3Utils.java
index 329d9a437..1a0784622 100644
--- a/common/src/main/java/org/apache/sedona/common/utils/H3Utils.java
+++ b/common/src/main/java/org/apache/sedona/common/utils/H3Utils.java
@@ -79,7 +79,7 @@ public class H3Utils {
     cellSizeMap.put(15, 0.0004567448929842399);
   }
 
-  public static LatLng coordindateToLatLng(Coordinate coordinate) {
+  public static LatLng coordinateToLatLng(Coordinate coordinate) {
     return new LatLng(coordinate.getY(), coordinate.getX());
   }
 
@@ -96,13 +96,13 @@ public class H3Utils {
     try {
       List<LatLng> shell =
           Arrays.stream(polygon.getExteriorRing().getCoordinates())
-              .map(H3Utils::coordindateToLatLng)
+              .map(H3Utils::coordinateToLatLng)
               .collect(Collectors.toList());
       List<List<LatLng>> holes = new ArrayList<>();
       for (int i = 0; i < polygon.getNumInteriorRing(); i++) {
         holes.add(
             Arrays.stream(polygon.getInteriorRingN(i).getCoordinates())
-                .map(H3Utils::coordindateToLatLng)
+                .map(H3Utils::coordinateToLatLng)
                 .collect(Collectors.toList()));
       }
       // H3 polyfill only include hexagons with centroid within the polygon, 
we fix by generating

Reply via email to