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 2026/03/31 16:34:51 UTC

(sis) 01/03: Fix some grammar errors in documentations.

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 d05aed7288df185cb5167ffb815b3d0eb52368d1
Author: Martin Desruisseaux <ma...@geomatys.com>
AuthorDate: Tue Mar 31 17:39:19 2026 +0200

    Fix some grammar errors in documentations.
---
 .../main/org/apache/sis/console/CommandRunner.java                    | 2 +-
 .../main/org/apache/sis/feature/FeatureFormat.java                    | 2 +-
 .../main/org/apache/sis/feature/PropertySingleton.java                | 2 +-
 .../main/org/apache/sis/image/ComputedTiles.java                      | 2 +-
 .../main/org/apache/sis/index/tree/PointTree.java                     | 2 +-
 .../main/org/apache/sis/metadata/TreeNode.java                        | 2 +-
 .../main/org/apache/sis/metadata/iso/spatial/DefaultGeorectified.java | 2 +-
 .../org.apache.sis.metadata/main/org/apache/sis/util/iso/Types.java   | 2 +-
 .../main/org/apache/sis/xml/bind/IdentifierMapAdapter.java            | 2 +-
 .../main/org/apache/sis/xml/bind/lan/PT_FreeText.java                 | 2 +-
 .../test/org/apache/sis/metadata/PropertyConsistencyCheck.java        | 2 +-
 .../main/org/apache/sis/geometry/CurveExtremum.java                   | 2 +-
 .../main/org/apache/sis/io/wkt/Element.java                           | 2 +-
 .../main/org/apache/sis/parameter/DefaultParameterDescriptor.java     | 2 +-
 .../main/org/apache/sis/referencing/crs/DefaultCompoundCRS.java       | 2 +-
 .../main/org/apache/sis/referencing/datum/AbstractDatum.java          | 2 +-
 .../main/org/apache/sis/referencing/datum/DatumOrEnsemble.java        | 2 +-
 .../apache/sis/referencing/factory/ConcurrentAuthorityFactory.java    | 2 +-
 .../main/org/apache/sis/referencing/factory/ReferenceKeeper.java      | 2 +-
 .../main/org/apache/sis/xml/bind/referencing/Code.java                | 2 +-
 .../main/org/apache/sis/storage/geotiff/writer/ReformattedImage.java  | 2 +-
 .../main/org/apache/sis/storage/netcdf/base/Decoder.java              | 4 ++--
 .../main/org/apache/sis/storage/netcdf/ucar/DecoderWrapper.java       | 4 ++--
 .../main/org/apache/sis/storage/xml/stream/StaxStreamReader.java      | 2 +-
 .../main/org/apache/sis/storage/GridCoverageResource.java             | 2 +-
 .../main/org/apache/sis/storage/tiling/TileMatrixSet.java             | 2 +-
 .../org.apache.sis.util/main/org/apache/sis/measure/UnitFormat.java   | 2 +-
 .../src/org.apache.sis.util/main/org/apache/sis/util/ArraysExt.java   | 4 ++--
 .../main/org/apache/sis/util/DefaultInternationalString.java          | 4 ++--
 .../main/org/apache/sis/util/collection/TreeNodeList.java             | 2 +-
 .../main/org/apache/sis/util/internal/shared/X364.java                | 4 ++--
 .../main/org/apache/sis/geometries/math/ArrayFactory.java             | 4 ++--
 32 files changed, 38 insertions(+), 38 deletions(-)

diff --git a/endorsed/src/org.apache.sis.console/main/org/apache/sis/console/CommandRunner.java b/endorsed/src/org.apache.sis.console/main/org/apache/sis/console/CommandRunner.java
index de7f183302..14a21e726f 100644
--- a/endorsed/src/org.apache.sis.console/main/org/apache/sis/console/CommandRunner.java
+++ b/endorsed/src/org.apache.sis.console/main/org/apache/sis/console/CommandRunner.java
@@ -120,7 +120,7 @@ abstract class CommandRunner {
 
     /**
      * Output stream to the console. This output stream uses the encoding
-     * specified by the {@code "--encoding"} argument, if presents.
+     * specified by the {@code "--encoding"} argument, if present.
      */
     protected final PrintWriter out;
 
diff --git a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/FeatureFormat.java b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/FeatureFormat.java
index 4d0fcc8aa5..3ab89d177f 100644
--- a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/FeatureFormat.java
+++ b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/FeatureFormat.java
@@ -482,7 +482,7 @@ public class FeatureFormat extends TabularFormat<Object> {
                 isFirstColumn = false;
                 switch (column) {
                     /*
-                     * Human-readable name of the property. May contains any characters (spaces, ideographs, etc).
+                     * Human-readable name of the property. May contain any characters (spaces, ideographs, etc).
                      * In many cases, this information is not provided and the whole column is skipped.
                      */
                     case DESIGNATION: {
diff --git a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/PropertySingleton.java b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/PropertySingleton.java
index 943d0e2674..f3cdbfc39f 100644
--- a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/PropertySingleton.java
+++ b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/feature/PropertySingleton.java
@@ -148,7 +148,7 @@ final class PropertySingleton<V> extends AbstractList<V> {
     }
 
     /**
-     * Removes the singleton value, if presents.
+     * Removes the singleton value, if present.
      * This method is for {@link Iter#remove()} implementation only.
      *
      * @param  c  the expected {@link #modCount} value, for check against concurrent modification.
diff --git a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/image/ComputedTiles.java b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/image/ComputedTiles.java
index d92e01527a..3ce37922e1 100644
--- a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/image/ComputedTiles.java
+++ b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/image/ComputedTiles.java
@@ -47,7 +47,7 @@ final class ComputedTiles extends WeakReference<ComputedImage> implements Dispos
      * changed its data. Those values are stored in {@link #cachedTiles} map.
      *
      * <ul>
-     *   <li>{@code VALID} means that the tile, if presents, is ready for use. A tile may be non-existent in the cache
+     *   <li>{@code VALID} means that the tile, if present, is ready for use. A tile may be non-existent in the cache
      *       despite being marked {@code VALID} if the tile has been garbage-collected after it has been marked.</li>
      *   <li>{@code DIRTY} means that the tile needs to be recomputed. If the tile is present, its data should be
      *       discarded but its storage space will be reused.</li>
diff --git a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/index/tree/PointTree.java b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/index/tree/PointTree.java
index 23b4e3be44..c253758b36 100644
--- a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/index/tree/PointTree.java
+++ b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/index/tree/PointTree.java
@@ -246,7 +246,7 @@ public class PointTree<E> extends AbstractSet<E> implements CheckedContainer<E>
      * Returns the coordinate reference system (CRS) of all points in this tree.
      * The CRS is taken from the envelope given in argument to the constructor.
      *
-     * @return the CRS of all points in this tree, if presents.
+     * @return the CRS of all points in this tree, if present.
      *
      * @see #getDimension()
      */
diff --git a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/TreeNode.java b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/TreeNode.java
index 1df8a86965..6c44ff7bb4 100644
--- a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/TreeNode.java
+++ b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/TreeNode.java
@@ -216,7 +216,7 @@ class TreeNode implements Node {
     /**
      * Appends an identifier for this node in the given buffer, for {@link #toString()} implementation.
      * The appended value is similar to the value returned by {@link #getIdentifier()} (except for the
-     * root node), but may contains additional information like the index in a collection.
+     * root node), but may contain additional information like the index in a collection.
      *
      * <p>The default implementation is suitable only for the root node - subclasses must override.</p>
      *
diff --git a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/iso/spatial/DefaultGeorectified.java b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/iso/spatial/DefaultGeorectified.java
index b5a11809d9..e0be0e9973 100644
--- a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/iso/spatial/DefaultGeorectified.java
+++ b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/iso/spatial/DefaultGeorectified.java
@@ -284,7 +284,7 @@ public class DefaultGeorectified extends DefaultGridSpatialRepresentation implem
      *
      * The {@linkplain List#size() list size} should be 2 or 4.
      * The list should contain at least two corner points along one diagonal.
-     * or may contains the 4 corner points of the georectified grid.
+     * or may contain the 4 corner points of the georectified grid.
      *
      * <p>The first corner point shall correspond to the origin of the grid.</p>
      *
diff --git a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/util/iso/Types.java b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/util/iso/Types.java
index 9f716a2410..30e19ed4b5 100644
--- a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/util/iso/Types.java
+++ b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/util/iso/Types.java
@@ -641,7 +641,7 @@ public final class Types {
     /**
      * Returns an international string for the values in the given properties map, or {@code null} if none.
      * This method is used when a property in a {@link java.util.Map} may have many localized variants.
-     * For example, the given map may contains a {@code "remarks"} property defined by values associated to
+     * For example, the given map may contain a {@code "remarks"} property defined by values associated to
      * the {@code "remarks_en"} and {@code "remarks_fr"} keys, for English and French locales respectively.
      *
      * <p>If the given map is {@code null}, then this method returns {@code null}.
diff --git a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/bind/IdentifierMapAdapter.java b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/bind/IdentifierMapAdapter.java
index 77c8b0379b..1adf586b1f 100644
--- a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/bind/IdentifierMapAdapter.java
+++ b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/bind/IdentifierMapAdapter.java
@@ -150,7 +150,7 @@ public class IdentifierMapAdapter extends AbstractMap<Citation, String> implemen
     }
 
     /**
-     * Extracts the {@code xlink:href} value from the {@link XLink} if presents.
+     * Extracts the {@code xlink:href} value from the {@link XLink} if present.
      * This method does not test if an explicit {@code xlink:href} identifier exists;
      * this check must be done by the caller <strong>before</strong> to invoke this method.
      *
diff --git a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/bind/lan/PT_FreeText.java b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/bind/lan/PT_FreeText.java
index ae4c7aa1c7..f9c5466c56 100644
--- a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/bind/lan/PT_FreeText.java
+++ b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/bind/lan/PT_FreeText.java
@@ -79,7 +79,7 @@ public final class PT_FreeText extends GO_CharacterString {
      * which is the "unlocalized" string (not the same thing as the string in the default locale).
      * Note that the {@link TextGroup} constructor works better if the {@code <gco:CharacterString>}
      * have been set for the {@code ROOT} locale (the default behavior). If a different locale were
-     * set, the list of localized strings in {@code TextGroup} may contains an element which
+     * set, the list of localized strings in {@code TextGroup} may contain an element which
      * duplicate the {@code <gco:CharacterString>} element, or the unlocalized string normally
      * written in {@code <gco:CharacterString>} may be missing.</p>
      *
diff --git a/endorsed/src/org.apache.sis.metadata/test/org/apache/sis/metadata/PropertyConsistencyCheck.java b/endorsed/src/org.apache.sis.metadata/test/org/apache/sis/metadata/PropertyConsistencyCheck.java
index f9859c1928..a7c2044c91 100644
--- a/endorsed/src/org.apache.sis.metadata/test/org/apache/sis/metadata/PropertyConsistencyCheck.java
+++ b/endorsed/src/org.apache.sis.metadata/test/org/apache/sis/metadata/PropertyConsistencyCheck.java
@@ -44,7 +44,7 @@ import org.opengis.util.ControlledVocabulary;
  *
  * <ul>
  *   <li>All {@link AbstractMetadata} instance shall be initially {@linkplain AbstractMetadata#isEmpty() empty}.</li>
- *   <li>All getter methods shall returns a null singleton or an empty collection, never a null collection.</li>
+ *   <li>All getter methods shall return a null singleton or an empty collection, never a null collection.</li>
  *   <li>After a call to a setter method, the getter method shall return a value equals to the given value.</li>
  * </ul>
  *
diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/geometry/CurveExtremum.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/geometry/CurveExtremum.java
index aad70c9f1b..a462344b4c 100644
--- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/geometry/CurveExtremum.java
+++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/geometry/CurveExtremum.java
@@ -34,7 +34,7 @@ import static java.lang.Math.*;
  * The distance separating the two extremum is sometimes a useful information for determining if
  * a quadratic equation would be a sufficient approximation.
  *
- * <p>The points stored in this object may contains {@linkplain Double#NaN NaN} values if the
+ * <p>The points stored in this object may contain {@linkplain Double#NaN NaN} values if the
  * given geometry is actually a line segment ({@code dy1} = {@code dy2} = slope from P1 to P2).</p>
  *
  * @author  Martin Desruisseaux (Geomatys)
diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/Element.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/Element.java
index a176f04156..a5a9af9282 100644
--- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/Element.java
+++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/Element.java
@@ -735,7 +735,7 @@ final class Element {
     }
 
     /**
-     * Removes the next object of the given type from the children and returns it, if presents.
+     * Removes the next object of the given type from the children and returns it, if present.
      *
      * @param  type  the object type.
      * @return the next object among the children, or {@code null} if none.
diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/parameter/DefaultParameterDescriptor.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/parameter/DefaultParameterDescriptor.java
index a4e91daf94..8e6456f3b4 100644
--- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/parameter/DefaultParameterDescriptor.java
+++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/parameter/DefaultParameterDescriptor.java
@@ -589,7 +589,7 @@ public class DefaultParameterDescriptor<T> extends AbstractParameterDescriptor i
      * reserved to JAXB, which will assign values to the fields using reflection.
      *
      * <p>This constructor fetches the value class and the unit of measurement from the enclosing
-     * {@link DefaultParameterValue}, if presents, because those information are not presents in GML.
+     * {@link DefaultParameterValue}, if present, because those information are not presents in GML.
      * They are GeoAPI additions.</p>
      */
     @SuppressWarnings("unchecked")
diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultCompoundCRS.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultCompoundCRS.java
index 09ba071a81..303601a82f 100644
--- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultCompoundCRS.java
+++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/crs/DefaultCompoundCRS.java
@@ -310,7 +310,7 @@ public class DefaultCompoundCRS extends AbstractCRS implements CompoundCRS {
     /**
      * Returns the ordered list of coordinate reference systems.
      * This is the list of CRS given at construction time.
-     * This list may contains other {@code CompoundCRS} instances, as described in class Javadoc.
+     * This list may contain other {@code CompoundCRS} instances, as described in class Javadoc.
      * For a flattened list of {@link SingleCRS} instances, see {@link #getSingleComponents()}.
      *
      * @return the coordinate reference systems as an unmodifiable list.
diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/AbstractDatum.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/AbstractDatum.java
index 6bbe6a10ce..a28ed3df72 100644
--- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/AbstractDatum.java
+++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/AbstractDatum.java
@@ -385,7 +385,7 @@ public class AbstractDatum extends AbstractIdentifiedObject implements Datum {
      * with the following additional flexibility:
      *
      * <ul>
-     *   <li>The {@code "D_"} prefix (used in ESRI datum names), if presents in the given name or in this datum name,
+     *   <li>The {@code "D_"} prefix (used in ESRI datum names), if present in the given name or in this datum name,
      *       is ignored.</li>
      *   <li>If this datum is an instance of {@link DefaultGeodeticDatum}, then the prime meridian name may also
      *       be ignored.</li>
diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DatumOrEnsemble.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DatumOrEnsemble.java
index a2cd7ff376..2821c8960d 100644
--- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DatumOrEnsemble.java
+++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/datum/DatumOrEnsemble.java
@@ -97,7 +97,7 @@ public final class DatumOrEnsemble {
     }
 
     /**
-     * Returns the datum of the given <abbr>CRS</abbr> if presents, or the datum ensemble otherwise.
+     * Returns the datum of the given <abbr>CRS</abbr> if present, or the datum ensemble otherwise.
      * This is an alternative to the {@code asDatum(…)} methods when the caller does not need to view
      * the returned object as a datum.
      *
diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/factory/ConcurrentAuthorityFactory.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/factory/ConcurrentAuthorityFactory.java
index 69847956dd..b90fdccd86 100644
--- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/factory/ConcurrentAuthorityFactory.java
+++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/factory/ConcurrentAuthorityFactory.java
@@ -821,7 +821,7 @@ public abstract class ConcurrentAuthorityFactory<DAO extends GeodeticAuthorityFa
      *
      * <p>The default implementation performs the following steps:</p>
      * <ol>
-     *   <li>Removes the namespace if presents. For example if the {@linkplain #getCodeSpaces() codespace}
+     *   <li>Removes the namespace if present. For example if the {@linkplain #getCodeSpaces() codespace}
      *       is EPSG and the given code starts with the {@code "EPSG:"} prefix, then that prefix is removed.</li>
      *   <li>Removes leading and trailing spaces.</li>
      * </ol>
diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/factory/ReferenceKeeper.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/factory/ReferenceKeeper.java
index 3df035c54b..7aa9a1b61f 100644
--- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/factory/ReferenceKeeper.java
+++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/factory/ReferenceKeeper.java
@@ -59,7 +59,7 @@ final class ReferenceKeeper {
     private static final long EXPIRATION_TIME = 5L * 60 * Constants.NANOS_PER_SECOND;
 
     /**
-     * The objects to retain by strong reference. May contains duplicated values and {@code null} anywhere.
+     * The objects to retain by strong reference. May contain duplicated values and {@code null} anywhere.
      * This is used as a cyclic queue. We use an array instead of {@link java.util.LinkedHashMap} for more
      * control on which instance is retained (objet identity matter, not just object equality).
      */
diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/xml/bind/referencing/Code.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/xml/bind/referencing/Code.java
index c63028252a..25e9956b30 100644
--- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/xml/bind/referencing/Code.java
+++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/xml/bind/referencing/Code.java
@@ -64,7 +64,7 @@ public final class Code {
 
     /**
      * Creates a wrapper initialized to the values of the given identifier.
-     * Version number, if presents, will be appended after the codespace with a semicolon separator.
+     * Version number, if present, will be appended after the codespace with a semicolon separator.
      * The {@link #getIdentifier()} method shall be able to perform the opposite operation (split the
      * above in separated codespace and version attributes).
      *
diff --git a/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/writer/ReformattedImage.java b/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/writer/ReformattedImage.java
index 6bfa4285cc..4894d16b5b 100644
--- a/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/writer/ReformattedImage.java
+++ b/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/writer/ReformattedImage.java
@@ -67,7 +67,7 @@ public final class ReformattedImage {
     /**
      * The values to write in the {@code ExtraSamples} TIFF tag, or {@code null} if none.
      * Values are some of the {@code EXTRA_SAMPLES_*} constants.
-     * The alpha channel, if presents, is declared here.
+     * The alpha channel, if present, is declared here.
      */
     public short[] extraSamples;
 
diff --git a/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/base/Decoder.java b/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/base/Decoder.java
index 24cf3f3707..50634f326d 100644
--- a/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/base/Decoder.java
+++ b/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/base/Decoder.java
@@ -352,8 +352,8 @@ public abstract class Decoder extends ReferencingFactoryContainer {
      * The unit symbol is typically a string like <q>days since 1970-01-01T00:00:00Z</q>.
      *
      * @param  symbol  the temporal unit name or symbol, followed by the epoch.
-     * @param  values  the values to convert. May contains {@code null} elements.
-     * @return the converted values. May contains {@code null} elements.
+     * @param  values  the values to convert. May contain {@code null} elements.
+     * @return the converted values. May contain {@code null} elements.
      */
     public abstract Temporal[] numberToDate(String symbol, Number... values);
 
diff --git a/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/ucar/DecoderWrapper.java b/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/ucar/DecoderWrapper.java
index f5b0ddf833..a6a8dc281e 100644
--- a/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/ucar/DecoderWrapper.java
+++ b/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/ucar/DecoderWrapper.java
@@ -387,8 +387,8 @@ public final class DecoderWrapper extends Decoder implements CancelTask {
      * Converts the given numerical values to date, using the information provided in the given unit symbol.
      * The unit symbol is typically a string like <q>days since 1970-01-01T00:00:00Z</q>.
      *
-     * @param  values  the values to convert. May contains {@code null} elements.
-     * @return the converted values. May contains {@code null} elements.
+     * @param  values  the values to convert. May contain {@code null} elements.
+     * @return the converted values. May contain {@code null} elements.
      */
     @Override
     public Temporal[] numberToDate(final String symbol, final Number... values) {
diff --git a/endorsed/src/org.apache.sis.storage.xml/main/org/apache/sis/storage/xml/stream/StaxStreamReader.java b/endorsed/src/org.apache.sis.storage.xml/main/org/apache/sis/storage/xml/stream/StaxStreamReader.java
index d000601ef7..5df6a5cb2e 100644
--- a/endorsed/src/org.apache.sis.storage.xml/main/org/apache/sis/storage/xml/stream/StaxStreamReader.java
+++ b/endorsed/src/org.apache.sis.storage.xml/main/org/apache/sis/storage/xml/stream/StaxStreamReader.java
@@ -58,7 +58,7 @@ import org.opengis.feature.Feature;
  * with the following restrictions:
  *
  * <ul>
- *   <li>{@link #tryAdvance(Consumer)} shall returns the features in the order they are declared in the XML file.</li>
+ *   <li>{@link #tryAdvance(Consumer)} shall return the features in the order they are declared in the XML file.</li>
  *   <li>{@code tryAdvance(Consumer)} shall not return {@code null} value.</li>
  *   <li>Modifications of the XML file are not allowed while an iteration is in progress.</li>
  *   <li>A {@code StaxStreamReader} instance can iterate over the features only once;
diff --git a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/GridCoverageResource.java b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/GridCoverageResource.java
index d76c8b2844..11108fa001 100644
--- a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/GridCoverageResource.java
+++ b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/GridCoverageResource.java
@@ -49,7 +49,7 @@ public interface GridCoverageResource extends DataSet {
     /**
      * Returns the spatiotemporal extent of this resource in its most natural coordinate reference system.
      * The default implementation fetches this information from the {@linkplain #getGridGeometry() grid geometry},
-     * if presents.
+     * if present.
      *
      * @return the spatiotemporal resource extent. May be absent if none or too costly to compute.
      * @throws DataStoreException if an error occurred while reading or computing the envelope.
diff --git a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/tiling/TileMatrixSet.java b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/tiling/TileMatrixSet.java
index 7699b7b470..a93afc0e17 100644
--- a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/tiling/TileMatrixSet.java
+++ b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/tiling/TileMatrixSet.java
@@ -53,7 +53,7 @@ import org.apache.sis.storage.base.MetadataBuilder;
 public interface TileMatrixSet {
     /**
      * Returns an alphanumeric identifier which is unique in the {@link TiledResource} that contains
-     * this {@code TileMatrixSet}. A tiled resource may contains more than one tile matrix set if the
+     * this {@code TileMatrixSet}. A tiled resource may contain more than one tile matrix set if the
      * resource prepared different set of tiles for different CRS.
      *
      * @return a unique (within {@link TiledResource}) identifier.
diff --git a/endorsed/src/org.apache.sis.util/main/org/apache/sis/measure/UnitFormat.java b/endorsed/src/org.apache.sis.util/main/org/apache/sis/measure/UnitFormat.java
index 4c1afa7b47..ff4c955096 100644
--- a/endorsed/src/org.apache.sis.util/main/org/apache/sis/measure/UnitFormat.java
+++ b/endorsed/src/org.apache.sis.util/main/org/apache/sis/measure/UnitFormat.java
@@ -234,7 +234,7 @@ public class UnitFormat extends Format implements javax.measure.format.UnitForma
         }
 
         /**
-         * Appends a string that may contains Unicode characters. The enumeration is responsible
+         * Appends a string that may contain Unicode characters. The enumeration is responsible
          * for converting the Unicode characters into ASCII ones if needed.
          */
         Appendable appendSymbol(final Appendable toAppendTo, final String value) throws IOException {
diff --git a/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/ArraysExt.java b/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/ArraysExt.java
index 6adb3fbd21..a68f265556 100644
--- a/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/ArraysExt.java
+++ b/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/ArraysExt.java
@@ -2275,7 +2275,7 @@ public final class ArraysExt {
      * only once, because it performs a linear search. If more than one search need to be done
      * on the same array, consider using {@link java.util.IdentityHashMap} instead.</p>
      *
-     * @param  array  the array to search in. May be {@code null} and may contains null elements.
+     * @param  array  the array to search in. May be {@code null} and may contain null elements.
      * @param  value  the value to search. May be {@code null}.
      * @return {@code true} if the array is non-null and contains the value (which may be null),
      *         or {@code false} otherwise.
@@ -2299,7 +2299,7 @@ public final class ArraysExt {
      * only once, because it performs a linear search. If more than one search need to be done
      * on the same array, consider using {@link java.util.HashSet} instead.</p>
      *
-     * @param  array  the array to search in. May be {@code null} and may contains null elements.
+     * @param  array  the array to search in. May be {@code null} and may contain null elements.
      * @param  value  the value to search. May be {@code null}.
      * @return {@code true} if the array is non-null and contains the value (which may be null),
      *         or {@code false} otherwise.
diff --git a/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/DefaultInternationalString.java b/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/DefaultInternationalString.java
index 94e544d5ba..2f8173b308 100644
--- a/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/DefaultInternationalString.java
+++ b/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/DefaultInternationalString.java
@@ -58,7 +58,7 @@ public class DefaultInternationalString extends AbstractInternationalString impl
 
     /**
      * The string values in different locales (never {@code null}).
-     * May contains the {@code null} key.
+     * May contain the {@code null} key.
      */
     @SuppressWarnings("serial")
     private Map<Locale,String> localeMap;
@@ -317,7 +317,7 @@ public class DefaultInternationalString extends AbstractInternationalString impl
      *   <li>Otherwise, this method returns {@code false}.</li>
      * </ul>
      *
-     * @param  candidate  the object which may contains this international string.
+     * @param  candidate  the object which may contain this international string.
      * @return {@code true} if the given object contains all localized strings found in this international string.
      */
     public synchronized boolean isSubsetOf(final Object candidate) {
diff --git a/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/collection/TreeNodeList.java b/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/collection/TreeNodeList.java
index 218c8e67c4..4a24e8562e 100644
--- a/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/collection/TreeNodeList.java
+++ b/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/collection/TreeNodeList.java
@@ -301,7 +301,7 @@ abstract class TreeNodeList extends AbstractList<TreeTable.Node>
     }
 
     /**
-     * Removes the first occurrence of the given node from this list, if presents.
+     * Removes the first occurrence of the given node from this list, if present.
      * The default implementation searches the node using the {@link #indexOf(Object)},
      * then removes it (if the node has been found) using the {@link #remove(int)} method.
      *
diff --git a/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/internal/shared/X364.java b/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/internal/shared/X364.java
index 911984022c..34b4a3a000 100644
--- a/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/internal/shared/X364.java
+++ b/endorsed/src/org.apache.sis.util/main/org/apache/sis/util/internal/shared/X364.java
@@ -176,7 +176,7 @@ public enum X364 {
     /**
      * Removes all escape codes from the given string.
      *
-     * @param  text       the string which may contains escape codes.
+     * @param  text       the string which may contain escape codes.
      * @param  fromIndex  the index from which to start the process.
      * @param  toIndex    the index after the last character to process.
      * @return text without the escape codes, or the given {@code text} reference if
@@ -218,7 +218,7 @@ search:     do {
      * CharSequences.codePointCount}({@linkplain #plain plain}(text))</code> without the
      * cost of creating a temporary string.
      *
-     * @param  text       the string which may contains escape codes.
+     * @param  text       the string which may contain escape codes.
      * @param  fromIndex  the index from which to start the computation.
      * @param  toIndex    the index after the last character to take in account.
      * @return the length of the given string without escape codes.
diff --git a/incubator/src/org.apache.sis.geometry/main/org/apache/sis/geometries/math/ArrayFactory.java b/incubator/src/org.apache.sis.geometry/main/org/apache/sis/geometries/math/ArrayFactory.java
index a602cc37ad..d1e54ae5f0 100644
--- a/incubator/src/org.apache.sis.geometry/main/org/apache/sis/geometries/math/ArrayFactory.java
+++ b/incubator/src/org.apache.sis.geometry/main/org/apache/sis/geometries/math/ArrayFactory.java
@@ -94,8 +94,8 @@ public interface ArrayFactory {
 
         /**
          * Create the ND array.
-         * If datatype is not set the type will be infered from the values if they are defined.
-         * If shape is not set the type will be infered from the values if they are defined.
+         * If datatype is not set the type will be inferred from the values if they are defined.
+         * If shape is not set the type will be inferred from the values if they are defined.
          * If samplesystem is not set, an undefined one will be used.
          *
          * @return NDArray