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 1778f1e656 chore: standardize spelling in Java code (#1892)
1778f1e656 is described below
commit 1778f1e656fd42e51a3d9c52be7ac7b250e2cdd5
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));
}
}