You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by de...@apache.org on 2022/09/14 14:38:04 UTC
[sis] 02/04: Fix a spelling error: "fist" → "first".
This is an automated email from the ASF dual-hosted git repository.
desruisseaux pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git
commit a26b7f40155b7a3cc225a7dbff75eb18e5f608e8
Author: Martin Desruisseaux <ma...@geomatys.com>
AuthorDate: Wed Sep 14 11:15:16 2022 +0200
Fix a spelling error: "fist" → "first".
---
.../src/main/java/org/apache/sis/geometry/Envelope2D.java | 2 +-
.../src/test/java/org/apache/sis/io/wkt/WKTDictionaryTest.java | 2 +-
.../apache/sis/referencing/operation/CoordinateOperationFinderTest.java | 2 +-
core/sis-utility/src/main/java/org/apache/sis/util/CharSequences.java | 2 +-
.../src/main/java/org/apache/sis/util/collection/TreeTableFormat.java | 2 +-
.../main/java/org/apache/sis/internal/netcdf/impl/ChannelDecoder.java | 2 +-
.../org/apache/sis/internal/storage/aggregate/GridSliceLocator.java | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/geometry/Envelope2D.java b/core/sis-referencing/src/main/java/org/apache/sis/geometry/Envelope2D.java
index a4339ef56b..35df305de9 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/geometry/Envelope2D.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/geometry/Envelope2D.java
@@ -174,7 +174,7 @@ public class Envelope2D extends Rectangle2D.Double implements Envelope, Emptiabl
* the minimal and maximal values respectively.
* See the class javadoc about crossing the anti-meridian for more details.
*
- * @param lowerCorner the fist position.
+ * @param lowerCorner the first position.
* @param upperCorner the second position.
* @throws MismatchedReferenceSystemException if the two positions don't use the same CRS.
* @throws MismatchedDimensionException if the two positions are not two-dimensional.
diff --git a/core/sis-referencing/src/test/java/org/apache/sis/io/wkt/WKTDictionaryTest.java b/core/sis-referencing/src/test/java/org/apache/sis/io/wkt/WKTDictionaryTest.java
index 809e62e886..63230da7ed 100644
--- a/core/sis-referencing/src/test/java/org/apache/sis/io/wkt/WKTDictionaryTest.java
+++ b/core/sis-referencing/src/test/java/org/apache/sis/io/wkt/WKTDictionaryTest.java
@@ -129,7 +129,7 @@ public final strictfp class WKTDictionaryTest extends TestCase {
*/
new SharedValuesCheck().verify(factory);
/*
- * "TEST" code space should be fist because it is the most frequently used
+ * "TEST" code space should be first because it is the most frequently used
* in the test file. The authority should be "TEST" for the same reason.
* Codes can be in any order. Code spaces are omitted when there is no ambiguity.
*/
diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/CoordinateOperationFinderTest.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/CoordinateOperationFinderTest.java
index 64c1a7024f..7ac174cc25 100644
--- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/CoordinateOperationFinderTest.java
+++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/CoordinateOperationFinderTest.java
@@ -134,7 +134,7 @@ public final strictfp class CoordinateOperationFinderTest extends MathTransformT
factory = new DefaultCoordinateOperationFactory();
parser = new WKTFormat(null, null);
/*
- * The fist keyword in WKT below should be "GeodeticCRS" in WKT 2, but we use the WKT 1 keyword ("GEOGCS")
+ * The first keyword in WKT below should be "GeodeticCRS" in WKT 2, but we use the WKT 1 keyword ("GEOGCS")
* for allowing inclusion in ProjectedCRS. SIS is okay with mixed WKT versions, but this is of course not
* something to recommend in production.
*/
diff --git a/core/sis-utility/src/main/java/org/apache/sis/util/CharSequences.java b/core/sis-utility/src/main/java/org/apache/sis/util/CharSequences.java
index da114b333b..235e89a04f 100644
--- a/core/sis-utility/src/main/java/org/apache/sis/util/CharSequences.java
+++ b/core/sis-utility/src/main/java/org/apache/sis/util/CharSequences.java
@@ -2121,7 +2121,7 @@ cmp: while (ia < lga) {
* </ul>
*
* @param text the text for which to get the token.
- * @param fromIndex index of the fist character to consider in the given text.
+ * @param fromIndex index of the first character to consider in the given text.
* @return a sub-sequence of {@code text} starting at the given offset, or an empty string
* if there are no non-blank character at or after the given offset.
* @throws NullPointerException if the {@code text} argument is null.
diff --git a/core/sis-utility/src/main/java/org/apache/sis/util/collection/TreeTableFormat.java b/core/sis-utility/src/main/java/org/apache/sis/util/collection/TreeTableFormat.java
index 2f79f6fcf5..8d1aeed711 100644
--- a/core/sis-utility/src/main/java/org/apache/sis/util/collection/TreeTableFormat.java
+++ b/core/sis-utility/src/main/java/org/apache/sis/util/collection/TreeTableFormat.java
@@ -450,7 +450,7 @@ public class TreeTableFormat extends TabularFormat<TreeTable> {
break; // The line contains only whitespaces.
}
/*
- * Go back to the fist non-space character (should be '─'). We do that in case the
+ * Go back to the first non-space character (should be '─'). We do that in case the
* user puts some spaces in the text of the node label, since we don't want those
* user-spaces to interfer with the calculation of indentation.
*/
diff --git a/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/impl/ChannelDecoder.java b/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/impl/ChannelDecoder.java
index 9fcfecb56c..6b82e8e78a 100644
--- a/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/impl/ChannelDecoder.java
+++ b/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/impl/ChannelDecoder.java
@@ -1058,7 +1058,7 @@ nextVar: for (final VariableInfo variable : variables) {
/**
* Adds netCDF attributes to the given node, including variables attributes.
- * Variables attributes are shown fist, and global attributes are last.
+ * Variables attributes are shown first, and global attributes are last.
*
* @param root the node where to add netCDF attributes.
*/
diff --git a/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/aggregate/GridSliceLocator.java b/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/aggregate/GridSliceLocator.java
index 2269efc19e..1cc91e89f2 100644
--- a/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/aggregate/GridSliceLocator.java
+++ b/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/aggregate/GridSliceLocator.java
@@ -169,7 +169,7 @@ final class GridSliceLocator {
}
/**
- * Returns the index of the fist slice which intersect the given extent.
+ * Returns the index of the first slice which intersect the given extent.
* This method performs a linear search. For better performance, it should be invoked
* with {@code toIndex} parameter set to {@link #getUpper(GridExtent, int, int)} value.
*