This is an automated email from the ASF dual-hosted git repository. jiayu pushed a commit to branch prepare-1.7.2 in repository https://gitbox.apache.org/repos/asf/sedona.git
commit 8d4d4aac1ec8863377f41ae77a271a106984f88f Author: John Bampton <[email protected]> AuthorDate: Mon Mar 31 14:12:31 2025 +1000 chore: standardize spelling in Java code (#1892) We use "splitted" a lot more than "splited". So this PR just makes the usage consistent. --- .../main/java/org/apache/sedona/common/utils/FormatUtils.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/common/src/main/java/org/apache/sedona/common/utils/FormatUtils.java b/common/src/main/java/org/apache/sedona/common/utils/FormatUtils.java index 494f97bbb8..dcbf1cfb2a 100644 --- a/common/src/main/java/org/apache/sedona/common/utils/FormatUtils.java +++ b/common/src/main/java/org/apache/sedona/common/utils/FormatUtils.java @@ -141,14 +141,15 @@ public class FormatUtils<T extends Geometry> implements Serializable { geoJSONReader = new GeoJSONReader(); } - private void handleNonSpatialDataToGeometry(Geometry geometry, List<String> splitedGeometryData) { - LinkedList<String> splitedGeometryDataList = new LinkedList<String>(splitedGeometryData); + private void handleNonSpatialDataToGeometry( + Geometry geometry, List<String> splittedGeometryData) { + LinkedList<String> splittedGeometryDataList = new LinkedList<String>(splittedGeometryData); if (carryInputData) { if (this.splitter != FileDataSplitter.GEOJSON) { // remove spatial data position - splitedGeometryDataList.remove(this.startOffset); + splittedGeometryDataList.remove(this.startOffset); } - geometry.setUserData(String.join("\t", splitedGeometryDataList)); + geometry.setUserData(String.join("\t", splittedGeometryDataList)); } }
