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 2024/01/11 18:01:11 UTC

(sis) 01/02: Typo fixes.

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 b103e7ba2a227c1f134130eee03b30cb125f0012
Author: Martin Desruisseaux <ma...@geomatys.com>
AuthorDate: Thu Jan 11 17:25:12 2024 +0100

    Typo fixes.
---
 .../main/org/apache/sis/cloud/aws/s3/FileService.java                 | 2 +-
 .../main/org/apache/sis/cloud/aws/s3/package-info.java                | 2 +-
 .../main/org/apache/sis/coverage/grid/CoordinateOperationFinder.java  | 2 +-
 .../main/org/apache/sis/metadata/ModifiableMetadata.java              | 2 +-
 .../main/org/apache/sis/referencing/CRS.java                          | 2 +-
 .../apache/sis/referencing/operation/CoordinateOperationContext.java  | 2 +-
 .../main/org/apache/sis/xml/bind/referencing/RS_Identifier.java       | 2 +-
 .../main/org/apache/sis/storage/netcdf/base/RasterResource.java       | 2 +-
 .../main/org/apache/sis/storage/base/TiledGridCoverage.java           | 4 ++--
 .../main/org/apache/sis/math/DecimalFunctions.java                    | 2 +-
 .../org.apache.sis.util/main/org/apache/sis/math/MathFunctions.java   | 4 ++--
 11 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/endorsed/src/org.apache.sis.cloud.aws/main/org/apache/sis/cloud/aws/s3/FileService.java b/endorsed/src/org.apache.sis.cloud.aws/main/org/apache/sis/cloud/aws/s3/FileService.java
index a7184fbd3d..808c582752 100644
--- a/endorsed/src/org.apache.sis.cloud.aws/main/org/apache/sis/cloud/aws/s3/FileService.java
+++ b/endorsed/src/org.apache.sis.cloud.aws/main/org/apache/sis/cloud/aws/s3/FileService.java
@@ -72,7 +72,7 @@ import org.apache.sis.cloud.aws.internal.Resources;
  * Keys can be paths with components separated by the {@code '/'} separator.
  * The password and the region can be specified at {@linkplain #newFileSystem file system initialization time}.
  * The endpoint (e.g. {@code "s3.eu-central-1.amazonaws.com"}) shall <em>not</em> be specified in the URI.
- * In particular the region ({@code "eu-central-1"} in above example) can depend on the server location
+ * In particular the region ({@code "eu-central-1"} in the above example) can depend on the server location
  * instead of the data to access, and can be a global configuration for the server.
  *
  * @author  Martin Desruisseaux (Geomatys)
diff --git a/endorsed/src/org.apache.sis.cloud.aws/main/org/apache/sis/cloud/aws/s3/package-info.java b/endorsed/src/org.apache.sis.cloud.aws/main/org/apache/sis/cloud/aws/s3/package-info.java
index 737924a26e..619a9bac6b 100644
--- a/endorsed/src/org.apache.sis.cloud.aws/main/org/apache/sis/cloud/aws/s3/package-info.java
+++ b/endorsed/src/org.apache.sis.cloud.aws/main/org/apache/sis/cloud/aws/s3/package-info.java
@@ -32,7 +32,7 @@
  * The password and the region can be specified at
  * {@linkplain java.nio.file.FileSystems#newFileSystem file system initialization time}.
  * The endpoint (e.g. {@code "s3.eu-central-1.amazonaws.com"}) shall <em>not</em> be specified in the URI.
- * In particular the region ({@code "eu-central-1"} in above example) can depend on the server location
+ * In particular the region ({@code "eu-central-1"} in the above example) can depend on the server location
  * instead of the data to access, and can be a global configuration for the server.</p>
  *
  * <p>After a {@link java.nio.file.Path} instance has been created,
diff --git a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/coverage/grid/CoordinateOperationFinder.java b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/coverage/grid/CoordinateOperationFinder.java
index 3d6400ce40..1f46d7ed3b 100644
--- a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/coverage/grid/CoordinateOperationFinder.java
+++ b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/coverage/grid/CoordinateOperationFinder.java
@@ -673,7 +673,7 @@ apply:          if (forwardChangeOfCRS == null) {
      * method returns {@code null}.
      *
      * <p>The returned array has a length equals to the number of dimensions in the target CRS.
-     * Only coordinates in dimensions without source (<var>t</var> in above example) will be used.
+     * Only coordinates in dimensions without source (<var>t</var> in the above example) will be used.
      * All other coordinate values will be ignored.</p>
      *
      * @see org.apache.sis.referencing.operation.CoordinateOperationContext#getConstantCoordinates()
diff --git a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/ModifiableMetadata.java b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/ModifiableMetadata.java
index 2a3b271211..efc2c3dfdf 100644
--- a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/ModifiableMetadata.java
+++ b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/ModifiableMetadata.java
@@ -336,7 +336,7 @@ public abstract class ModifiableMetadata extends AbstractMetadata {
      *     Metadata copy = copier.copy(Metadata.class, source);
      *     }
      *
-     * The {@code Metadata} type in above example can be replaced by any other ISO 19115 type.
+     * The {@code Metadata} type in the above example can be replaced by any other ISO 19115 type.
      * Types from other standards can also be used if the {@link MetadataStandard#ISO_19115} constant
      * is replaced accordingly.
      *
diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/CRS.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/CRS.java
index 074f173e93..15a9c8f481 100644
--- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/CRS.java
+++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/CRS.java
@@ -313,7 +313,7 @@ public final class CRS extends Static {
      * <h4>Logging</h4>
      * If the parsing produced warnings, they will be reported in a logger named {@code "org.apache.sis.io.wkt"}.
      * In particular, this method verifies if the description provided by the WKT matches the description provided
-     * by the authority ({@code "EPSG:5641"} in above example) and reports discrepancies.
+     * by the authority ({@code "EPSG:5641"} in the above example) and reports discrepancies.
      * Note that this comparison between parsed CRS and authoritative CRS is specific to this convenience method;
      * other APIs documented in <cite>see also</cite> section do not perform this comparison automatically.
      * Should the WKT description and the authoritative description be in conflict, the WKT description prevails
diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/CoordinateOperationContext.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/CoordinateOperationContext.java
index 759b6d56ec..c21a6ac522 100644
--- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/CoordinateOperationContext.java
+++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/CoordinateOperationContext.java
@@ -233,7 +233,7 @@ public class CoordinateOperationContext implements Serializable {
      * <p>If this method returns {@code null} (which is the default), then the {@link CoordinateOperationFinder} caller
      * will throw an {@link org.opengis.referencing.operation.OperationNotFoundException}. Otherwise the returned array
      * should have a length equals to the number of dimensions in the full (usually compound) target CRS.
-     * Only coordinate values in dimensions without source (the <var>t</var> dimension in above example) will be used.
+     * Only coordinate values in dimensions without source (the <var>t</var> dimension in the above example) will be used.
      * All other coordinate values will be ignored.
      *
      * @return coordinate values to take as constants for the specified target component, or {@code null} if none.
diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/xml/bind/referencing/RS_Identifier.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/xml/bind/referencing/RS_Identifier.java
index d4da4b746f..a9e864935b 100644
--- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/xml/bind/referencing/RS_Identifier.java
+++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/xml/bind/referencing/RS_Identifier.java
@@ -51,7 +51,7 @@ import org.opengis.metadata.Identifier;
  * }
  *
  * In such case this class takes the codespace as the {@linkplain Identifier#getAuthority() authority}
- * ("IOGP" in above example), and the 3 last URI elements are parsed as the codespace, version (optional)
+ * ("IOGP" in the above example), and the 3 last URI elements are parsed as the codespace, version (optional)
  * and code values respectively.
  *
  * @author  Guilhem Legal (Geomatys)
diff --git a/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/base/RasterResource.java b/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/base/RasterResource.java
index 1bbec91459..aff32ad399 100644
--- a/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/base/RasterResource.java
+++ b/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/base/RasterResource.java
@@ -366,7 +366,7 @@ public final class RasterResource extends AbstractGridCoverageResource implement
      * Invoked when the name of this resource needs to be changed because it collides with the name of another resource.
      * This method uses the variable name, which should be unique in each netCDF file. If this resource wraps more than
      * one variable (for example "eastward_velocity" and "northward_velocity"), then this method takes the common part
-     * of all variable names ("velocity" in above example).
+     * of all variable names ("velocity" in the above example).
      *
      * @return whether this resource has been renamed as an effect of this method call.
      */
diff --git a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/TiledGridCoverage.java b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/TiledGridCoverage.java
index c78ffa373b..bf9458dae7 100644
--- a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/TiledGridCoverage.java
+++ b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/TiledGridCoverage.java
@@ -801,8 +801,8 @@ public abstract class TiledGridCoverage extends GridCoverage {
                      * If reading the second tile, then `tileBase` = 10 and `offset` = -10.
                      * The first pixel to read in the second tile has a subsampling offset.
                      * We usually try to avoid this situation because it causes a variable
-                     * number of white squares in tiles (4,3,3,4 in above example), except
-                     * when there is only 1 tile to read in which case offset is tolerated.
+                     * number of white squares in tiles (4,3,3,4 in the above example),
+                     * except when there is only 1 tile to read in which case offset is tolerated.
                      */
                     final int s = coverage.subsampling[dimension];
                     offset %= s;
diff --git a/endorsed/src/org.apache.sis.util/main/org/apache/sis/math/DecimalFunctions.java b/endorsed/src/org.apache.sis.util/main/org/apache/sis/math/DecimalFunctions.java
index 909963eb1b..84b4bc4857 100644
--- a/endorsed/src/org.apache.sis.util/main/org/apache/sis/math/DecimalFunctions.java
+++ b/endorsed/src/org.apache.sis.util/main/org/apache/sis/math/DecimalFunctions.java
@@ -537,7 +537,7 @@ public final class DecimalFunctions extends Static {
              * For example if the numbers are 0.123 and 0.12378, then the first digit to differ
              * is 7 at position 10⁻⁴. Consequently, the position of the last same digit is 10⁻³.
              * Dividing numbers by that last position result in numbers where all the different
-             * digits are fraction digits (123 and 123.78 in above example).
+             * digits are fraction digits (123 and 123.78 in the above example).
              */
             int p = Numerics.toExp10(MathFunctions.getExponent(delta));     // Rounded twice toward floor (may be too low).
             p = Math.max(p - (EXPONENT_FOR_ZERO + 1), 0);                   // Convert to index in POW10 array.
diff --git a/endorsed/src/org.apache.sis.util/main/org/apache/sis/math/MathFunctions.java b/endorsed/src/org.apache.sis.util/main/org/apache/sis/math/MathFunctions.java
index e28b03c93e..8cb0ada610 100644
--- a/endorsed/src/org.apache.sis.util/main/org/apache/sis/math/MathFunctions.java
+++ b/endorsed/src/org.apache.sis.util/main/org/apache/sis/math/MathFunctions.java
@@ -1154,8 +1154,8 @@ testNextNumber:         while (true) {      // Simulate a "goto" statement (usua
      * Duplicated values should be very rare and occur mostly as a consequence of rounding errors while computing the
      * roots of polynomial equations. Because if the algebraic solution has less roots than what we would expect from
      * the largest exponent (for example ax² + bx = 0 has only one root instead of two), then {@link #polynomialRoots}
-     * should have reduced the equation to a lower degrees (ax + b = 0 in above example), in which case there are no
-     * duplicated roots to remove.
+     * should have reduced the equation to a lower degrees (ax + b = 0 in the above example), in which case there are
+     * no duplicated roots to remove.
      */
     private static double[] removeDuplicated(double[] roots) {
         int i = 1;