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/05/09 09:53:14 UTC
[sis] 02/02: English spelling: "The later" → "The latter".
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 4c2f877889d18a38df10872c5a1a0b8b28f1955f
Author: Martin Desruisseaux <ma...@geomatys.com>
AuthorDate: Mon May 9 09:44:21 2022 +0200
English spelling: "The later" → "The latter".
---
.../src/main/java/org/apache/sis/image/MaskedImage.java | 2 +-
.../main/java/org/apache/sis/internal/jaxb/gml/TimeInstant.java | 2 +-
.../apache/sis/internal/metadata/legacy/LegacyPropertyAdapter.java | 2 +-
.../src/main/java/org/apache/sis/metadata/PropertyAccessor.java | 2 +-
.../apache/sis/metadata/iso/citation/DefaultResponsibleParty.java | 2 +-
.../src/main/java/org/apache/sis/metadata/iso/package-info.java | 2 +-
.../java/org/apache/sis/metadata/iso/quality/DefaultScope.java | 2 +-
.../src/main/java/org/apache/sis/metadata/sql/MetadataWriter.java | 2 +-
.../src/test/java/org/apache/sis/test/xml/InfiniteSet.java | 2 +-
.../java/org/apache/sis/internal/referencing/AxisDirections.java | 4 ++--
.../org/apache/sis/internal/referencing/j2d/AffineTransform2D.java | 2 +-
.../main/java/org/apache/sis/internal/referencing/j2d/Tile.java | 2 +-
.../org/apache/sis/parameter/DefaultParameterDescriptorGroup.java | 2 +-
.../main/java/org/apache/sis/parameter/DefaultParameterValue.java | 2 +-
.../src/main/java/org/apache/sis/parameter/TensorParameters.java | 2 +-
.../java/org/apache/sis/referencing/AbstractIdentifiedObject.java | 2 +-
.../java/org/apache/sis/referencing/datum/BursaWolfParameters.java | 2 +-
.../org/apache/sis/referencing/datum/DefaultVerticalDatum.java | 2 +-
.../java/org/apache/sis/referencing/datum/TimeDependentBWP.java | 2 +-
.../org/apache/sis/referencing/factory/sql/EPSGCodeFinder.java | 2 +-
.../referencing/operation/DefaultCoordinateOperationFactory.java | 2 +-
.../sis/referencing/operation/transform/TransferFunction.java | 2 +-
.../src/test/java/org/apache/sis/io/wkt/ComparisonWithEPSG.java | 2 +-
.../apache/sis/referencing/factory/AuthorityFactoryProxyTest.java | 2 +-
.../apache/sis/referencing/operation/DefaultConversionTest.java | 2 +-
.../sis/referencing/operation/DefaultTransformationTest.java | 2 +-
.../operation/projection/ProjectionResultComparator.java | 2 +-
.../src/main/java/org/apache/sis/internal/util/Constants.java | 2 +-
.../src/main/java/org/apache/sis/internal/util/Numerics.java | 2 +-
.../src/main/java/org/apache/sis/internal/util/Strings.java | 2 +-
.../src/main/java/org/apache/sis/measure/AbstractUnit.java | 2 +-
core/sis-utility/src/main/java/org/apache/sis/measure/Range.java | 4 ++--
.../src/main/java/org/apache/sis/measure/RangeFormat.java | 2 +-
.../src/main/java/org/apache/sis/util/CharSequences.java | 2 +-
.../src/main/java/org/apache/sis/util/resources/package-info.java | 7 +++----
.../src/test/java/org/apache/sis/math/DecimalFunctionsTest.java | 2 +-
.../java/org/apache/sis/util/collection/TreeTableFormatTest.java | 2 +-
.../java/org/apache/sis/storage/geotiff/GridGeometryBuilder.java | 2 +-
.../src/main/java/org/apache/sis/internal/netcdf/Raster.java | 2 +-
.../src/main/java/org/apache/sis/internal/storage/CodeType.java | 2 +-
.../java/org/apache/sis/internal/storage/TiledGridCoverage.java | 2 +-
.../java/org/apache/sis/internal/storage/folder/WritableStore.java | 2 +-
42 files changed, 46 insertions(+), 47 deletions(-)
diff --git a/core/sis-feature/src/main/java/org/apache/sis/image/MaskedImage.java b/core/sis-feature/src/main/java/org/apache/sis/image/MaskedImage.java
index 9654e14d09..ae15580b50 100644
--- a/core/sis-feature/src/main/java/org/apache/sis/image/MaskedImage.java
+++ b/core/sis-feature/src/main/java/org/apache/sis/image/MaskedImage.java
@@ -65,7 +65,7 @@ final class MaskedImage extends SourceAlignedImage {
/**
* Bounds of the {@linkplain #clip} in pixels coordinates and in tile coordinates.
- * The later provides a fast way to determine if a tile intersects the mask.
+ * The latter provides a fast way to determine if a tile intersects the mask.
* The bounds are computed together when first needed.
*
* @see #getMaskTiles()
diff --git a/core/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/gml/TimeInstant.java b/core/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/gml/TimeInstant.java
index a18947b3fc..c920d54310 100644
--- a/core/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/gml/TimeInstant.java
+++ b/core/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/gml/TimeInstant.java
@@ -30,7 +30,7 @@ import org.apache.sis.internal.xml.XmlUtilities;
/**
* Encapsulates a {@code gml:TimeInstant}. This element may be used alone, or included in a
- * {@link TimePeriodBound.GML2} object. The later is itself included in {@link TimePeriod}.
+ * {@link TimePeriodBound.GML2} object. The latter is itself included in {@link TimePeriod}.
* Note that GML3 does not anymore include {@code TimeInstant} inside {@code TimePeriod}.
*
* @author Guilhem Legal (Geomatys)
diff --git a/core/sis-metadata/src/main/java/org/apache/sis/internal/metadata/legacy/LegacyPropertyAdapter.java b/core/sis-metadata/src/main/java/org/apache/sis/internal/metadata/legacy/LegacyPropertyAdapter.java
index 659891a651..8ce3cf82c1 100644
--- a/core/sis-metadata/src/main/java/org/apache/sis/internal/metadata/legacy/LegacyPropertyAdapter.java
+++ b/core/sis-metadata/src/main/java/org/apache/sis/internal/metadata/legacy/LegacyPropertyAdapter.java
@@ -97,7 +97,7 @@ public abstract class LegacyPropertyAdapter<L,N> extends AbstractCollection<L> {
/**
* Returns {@code this} if the collection given at construction time was non-null, or {@code null} otherwise.
- * The later case may happen at marshalling time.
+ * The latter case may happen at marshalling time.
*
* @return {@code this} or {@code null}.
*/
diff --git a/core/sis-metadata/src/main/java/org/apache/sis/metadata/PropertyAccessor.java b/core/sis-metadata/src/main/java/org/apache/sis/metadata/PropertyAccessor.java
index 62adc82b6b..0ee1c89c63 100644
--- a/core/sis-metadata/src/main/java/org/apache/sis/metadata/PropertyAccessor.java
+++ b/core/sis-metadata/src/main/java/org/apache/sis/metadata/PropertyAccessor.java
@@ -424,7 +424,7 @@ class PropertyAccessor {
}
/*
* The candidate method should be declared in the interface. If not, then we require it to have
- * a @UML annotation. The later case happen when the Apache SIS implementation contains methods
+ * a @UML annotation. The latter case happen when the Apache SIS implementation contains methods
* for a new international standard not yet reflected in the GeoAPI interfaces.
*/
if (MetadataStandard.IMPLEMENTATION_CAN_ALTER_API) {
diff --git a/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/citation/DefaultResponsibleParty.java b/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/citation/DefaultResponsibleParty.java
index 2910d72720..aee818c59a 100644
--- a/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/citation/DefaultResponsibleParty.java
+++ b/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/citation/DefaultResponsibleParty.java
@@ -130,7 +130,7 @@ public class DefaultResponsibleParty extends DefaultResponsibility implements Re
/**
* Returns the name or the position of the first individual. If no individual is found in the list of parties,
- * then this method will search in the list of organization members. The later structure is used by our netCDF
+ * then this method will search in the list of organization members. The latter structure is used by our netCDF
* reader.
*
* @param position {@code true} for returning the position name instead of individual name.
diff --git a/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/package-info.java b/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/package-info.java
index 71509b9bcf..8fb34867ad 100644
--- a/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/package-info.java
+++ b/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/package-info.java
@@ -62,7 +62,7 @@
* <strong>except</strong> if the object to be marshalled is an instance of
* {@link org.apache.sis.metadata.iso.DefaultMetadata}, in which case the value given to the
* {@link org.apache.sis.metadata.iso.DefaultMetadata#setLanguage setLanguage(Locale)} method
- * will have precedence. The later behavior is compliant with INSPIRE rules.
+ * will have precedence. The latter behavior is compliant with INSPIRE rules.
*
* <h2>Null values, nil objects and collections</h2>
* All constructors and setter methods accept {@code null} arguments.
diff --git a/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultScope.java b/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultScope.java
index b7fe7ab79e..5444ccad4a 100644
--- a/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultScope.java
+++ b/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/quality/DefaultScope.java
@@ -45,7 +45,7 @@ import org.apache.sis.internal.util.CollectionsExt;
* @module
*
* @deprecated As of ISO 19115:2014, {@code DQ_Scope} has been replaced by {@code MD_Scope}.
- * The later is defined in the {@link org.apache.sis.metadata.iso.maintenance} package.
+ * The latter is defined in the {@link org.apache.sis.metadata.iso.maintenance} package.
*/
@Deprecated
@XmlTransient
diff --git a/core/sis-metadata/src/main/java/org/apache/sis/metadata/sql/MetadataWriter.java b/core/sis-metadata/src/main/java/org/apache/sis/metadata/sql/MetadataWriter.java
index f7be613c19..cd4f0bf194 100644
--- a/core/sis-metadata/src/main/java/org/apache/sis/metadata/sql/MetadataWriter.java
+++ b/core/sis-metadata/src/main/java/org/apache/sis/metadata/sql/MetadataWriter.java
@@ -281,7 +281,7 @@ public class MetadataWriter extends MetadataSource {
}
/*
* Process to the table creation if it does not already exists. If the table has parents, they will be
- * created first. The later will work only for database supporting table inheritance, like PostgreSQL.
+ * created first. The latter will work only for database supporting table inheritance, like PostgreSQL.
* For other kind of database engine, we can not store metadata having parent interfaces.
*/
Boolean isChildTable = createTable(stmt, interfaceType, table, columns);
diff --git a/core/sis-metadata/src/test/java/org/apache/sis/test/xml/InfiniteSet.java b/core/sis-metadata/src/test/java/org/apache/sis/test/xml/InfiniteSet.java
index 0d13078f0b..08e9da409a 100644
--- a/core/sis-metadata/src/test/java/org/apache/sis/test/xml/InfiniteSet.java
+++ b/core/sis-metadata/src/test/java/org/apache/sis/test/xml/InfiniteSet.java
@@ -26,7 +26,7 @@ import java.util.Iterator;
* An unmodifiable set used as a sentinel value meaning "all" elements.
* All {@code add(…)} operations are no-op since the set already contains everything.
* All {@code contains(…)} operations always return {@code true}.
- * The later is not strictly correct since we should check the type,
+ * The latter is not strictly correct since we should check the type,
* but this is not needed for the purpose of this internal class.
*
* @author Martin Desruisseaux (Geomatys)
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/AxisDirections.java b/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/AxisDirections.java
index b162bdfa68..eeba6ee6ba 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/AxisDirections.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/AxisDirections.java
@@ -611,10 +611,10 @@ next: for (int i=0; i <= limit; i++) {
/**
* Searches pre-defined {@link AxisDirection} for a given name. This method searches for a match in the set
* of known axis directions as returned by {@link AxisDirection#values()}, plus a few special cases like
- * <cite>"Geocentre > equator/90°E"</cite>. The later are used in the EPSG database for geocentric CRS.
+ * <cite>"Geocentre > equator/90°E"</cite>. The latter are used in the EPSG database for geocentric CRS.
*
* <p>This method does not know about {@code org.apache.sis.referencing.cs.DirectionAlongMeridian}.
- * The later is a parser which may create new directions, while this method searches only in a set
+ * The latter is a parser which may create new directions, while this method searches only in a set
* of predefined directions and never create new ones.</p>
*
* @param name the name of the axis direction to search.
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/j2d/AffineTransform2D.java b/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/j2d/AffineTransform2D.java
index ed3283ad80..01869be131 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/j2d/AffineTransform2D.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/j2d/AffineTransform2D.java
@@ -341,7 +341,7 @@ public class AffineTransform2D extends ImmutableAffineTransform
* Compares this affine transform with the given object for equality. This method behaves as documented
* in the {@link LenientComparable#equals(Object, ComparisonMode) LenientComparable.equals(…)} method,
* except for the following case: if the given mode is {@link ComparisonMode#STRICT}, then this method
- * delegates to {@link #equals(Object)}. The later method has different rules than the ones documented
+ * delegates to {@link #equals(Object)}. The latter method has different rules than the ones documented
* in the {@code LenientComparable} interface, because of the {@code AffineTransform} inheritance.
*
* @param object the object to compare to {@code this}.
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/j2d/Tile.java b/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/j2d/Tile.java
index 3032253adf..bd54735f96 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/j2d/Tile.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/j2d/Tile.java
@@ -80,7 +80,7 @@ import org.apache.sis.io.TableAppender;
*
* <div class="note"><b>NOTE 1:</b>
* the semantic assumes that overviews are produced by subsampling, not by interpolation or pixel averaging.
- * The later are not prohibited, but doing so introduce some subsampling-dependent variations in images read,
+ * The latter are not prohibited, but doing so introduce some subsampling-dependent variations in images read,
* which would not be what we would expect from a strictly compliant {@link ImageReader}.</div>
*
* <div class="note"><b>NOTE 2:</b>
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/parameter/DefaultParameterDescriptorGroup.java b/core/sis-referencing/src/main/java/org/apache/sis/parameter/DefaultParameterDescriptorGroup.java
index ebfc70a83b..e56aaad424 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/parameter/DefaultParameterDescriptorGroup.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/parameter/DefaultParameterDescriptorGroup.java
@@ -495,7 +495,7 @@ public class DefaultParameterDescriptorGroup extends AbstractParameterDescriptor
* But the value class of {@code ParameterDescriptor} components are unknown because this information
* is not part of GML.</li>
* <li>Next, this method is invoked during unmarshalling of the {@code DefaultParameterValueGroup} enclosing
- * element with the descriptors found inside the {@code ParameterValue} components. The later do have the
+ * element with the descriptors found inside the {@code ParameterValue} components. The latter do have the
* {@code valueClass} information, so we want to use them in replacement of descriptors of step 1.</li>
* </ol>
*
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/parameter/DefaultParameterValue.java b/core/sis-referencing/src/main/java/org/apache/sis/parameter/DefaultParameterValue.java
index 91a63a4ee3..9c1844a385 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/parameter/DefaultParameterValue.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/parameter/DefaultParameterValue.java
@@ -100,7 +100,7 @@ import static org.apache.sis.util.Utilities.deepEquals;
* A {@linkplain DefaultParameterDescriptor parameter descriptor} must be defined before parameter value can be created.
* Descriptors are usually pre-defined by map projection or process providers. Given a descriptor, a parameter value can
* be created by a call to the {@link #DefaultParameterValue(ParameterDescriptor)} constructor or by a call to the
- * {@link ParameterDescriptor#createValue()} method. The later is recommended since it allows descriptors to return
+ * {@link ParameterDescriptor#createValue()} method. The latter is recommended since it allows descriptors to return
* specialized implementations.
*
* <h2>Implementation note for subclasses</h2>
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/parameter/TensorParameters.java b/core/sis-referencing/src/main/java/org/apache/sis/parameter/TensorParameters.java
index e235a49e4d..3695c53a9d 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/parameter/TensorParameters.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/parameter/TensorParameters.java
@@ -335,7 +335,7 @@ public class TensorParameters<E> implements Serializable {
/**
* Initializes the fields used for cached values: {@link #zero}, {@link #one} and the {@link #parameters} array.
- * The later is not assigned to the {@code parameters} field, but rather returned.
+ * The latter is not assigned to the {@code parameters} field, but rather returned.
* Caller shall assign himself the returned value to the {@link #parameters} field.
*
* <p>This method is invoked by constructor and on deserialization.</p>
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/AbstractIdentifiedObject.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/AbstractIdentifiedObject.java
index 650f1cc86a..285fc7f4ae 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/AbstractIdentifiedObject.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/AbstractIdentifiedObject.java
@@ -1010,7 +1010,7 @@ public class AbstractIdentifiedObject extends FormattableObject implements Ident
/**
* Returns the {@link #name} and all aliases which are also instance of {@link Identifier}.
- * The later happen often in SIS implementation since many aliases are instance of {@link NamedIdentifier}.
+ * The latter happen often in SIS implementation since many aliases are instance of {@link NamedIdentifier}.
*
* <p>The returned collection is <cite>live</cite>: adding elements in that collection will modify this
* {@code AbstractIdentifiedObject} instance. This is needed for unmarshalling with JAXB and should not
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/BursaWolfParameters.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/BursaWolfParameters.java
index 622a4d890a..71cfec9528 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/BursaWolfParameters.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/BursaWolfParameters.java
@@ -377,7 +377,7 @@ public class BursaWolfParameters extends FormattableObject implements Cloneable,
* Inverts in-place the sign of rotation terms ({@link #rX}, {@link #rY}, {@link #rZ}).
* This method can be invoked for converting a <cite>Coordinate Frame Rotation</cite> transformation
* (EPSG operation method 9607) to a <em>Position Vector</em> transformation (EPSG operation method 9606).
- * The later convention is used by IAG and recommended by ISO 19111.
+ * The latter convention is used by IAG and recommended by ISO 19111.
*/
public void reverseRotation() {
rX = -rX;
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultVerticalDatum.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultVerticalDatum.java
index 355b4ffc8b..919af8b2c0 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultVerticalDatum.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultVerticalDatum.java
@@ -213,7 +213,7 @@ public class DefaultVerticalDatum extends AbstractDatum implements VerticalDatum
/**
* Returns the type of this datum, or infers the type from the datum name if no type were specified.
- * The later case occurs after unmarshalling, since GML 3.2 does not contain any attribute for the datum type.
+ * The latter case occurs after unmarshalling, since GML 3.2 does not contain any attribute for the datum type.
* It may also happen if the datum were created using reflection.
*
* <p>This method uses heuristic rules and may be changed in any future SIS version. If the type can not be
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/TimeDependentBWP.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/TimeDependentBWP.java
index fcfc053676..e93ef6fd81 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/TimeDependentBWP.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/TimeDependentBWP.java
@@ -265,7 +265,7 @@ public class TimeDependentBWP extends BursaWolfParameters {
* Inverts in-place the sign of rotation terms and their derivative.
* This method can be invoked for converting a <cite>Coordinate Frame Rotation</cite> transformation
* (EPSG operation method 9607) to a <em>Position Vector</em> transformation (EPSG operation method 9606).
- * The later convention is used by IAG and recommended by ISO 19111.
+ * The latter convention is used by IAG and recommended by ISO 19111.
*/
@Override
public void reverseRotation() {
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/sql/EPSGCodeFinder.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/sql/EPSGCodeFinder.java
index f3bbb24810..fc1537d0f0 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/sql/EPSGCodeFinder.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/sql/EPSGCodeFinder.java
@@ -166,7 +166,7 @@ final class EPSGCodeFinder extends IdentifiedObjectFinder {
* SELECT <codeColumn> FROM <table> WHERE <column> >= <value - ε> AND <column> <= <value + ε>
* }
*
- * The later form is used if {@code <filters>} is a floating point value.
+ * The latter form is used if {@code <filters>} is a floating point value.
* Otherwise, {@code <filters>} are typically EPSG codes of dependencies.
*/
private static class Condition {
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/DefaultCoordinateOperationFactory.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/DefaultCoordinateOperationFactory.java
index edc732a085..3cd1f00d9d 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/DefaultCoordinateOperationFactory.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/DefaultCoordinateOperationFactory.java
@@ -576,7 +576,7 @@ next: for (int i=components.size(); --i >= 0;) {
}
/*
* Now create the coordinate operation of the requested type. If we can not find a concrete class for the
- * requested type, we will instantiate a SingleOperation in last resort. The later action is a departure
+ * requested type, we will instantiate a SingleOperation in last resort. The latter action is a departure
* from ISO 19111 since `SingleOperation` is conceptually abstract. But we do that as a way to said that
* we are missing this important piece of information but still go ahead.
*
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/TransferFunction.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/TransferFunction.java
index 1dff5bebe2..2b89db828c 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/TransferFunction.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/TransferFunction.java
@@ -33,7 +33,7 @@ import org.apache.sis.referencing.operation.matrix.Matrix2;
/**
* The function converting raster <cite>sample values</cite> to <cite>geophysics values</cite>.
* The function is usually linear, but can sometime be logarithmic or exponential.
- * The later occur most often when measuring concentration of something.
+ * The latter occur most often when measuring concentration of something.
*
* <table class="sis">
* <caption>Supported transfer function types</caption>
diff --git a/core/sis-referencing/src/test/java/org/apache/sis/io/wkt/ComparisonWithEPSG.java b/core/sis-referencing/src/test/java/org/apache/sis/io/wkt/ComparisonWithEPSG.java
index 187f61db69..228946d893 100644
--- a/core/sis-referencing/src/test/java/org/apache/sis/io/wkt/ComparisonWithEPSG.java
+++ b/core/sis-referencing/src/test/java/org/apache/sis/io/wkt/ComparisonWithEPSG.java
@@ -151,7 +151,7 @@ public final strictfp class ComparisonWithEPSG extends TestCase {
/**
* Compares a projected CRS parsed from a WKT with a the CRS built from EPSG database.
- * The later is taken as the reference.
+ * The latter is taken as the reference.
*/
private static void compare(final String wkt, final int epsg) throws FactoryException {
final CoordinateReferenceSystem crs = CRS.fromWKT(wkt);
diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/AuthorityFactoryProxyTest.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/AuthorityFactoryProxyTest.java
index 6ea0c837e1..7c100387ed 100644
--- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/AuthorityFactoryProxyTest.java
+++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/factory/AuthorityFactoryProxyTest.java
@@ -112,7 +112,7 @@ public final strictfp class AuthorityFactoryProxyTest extends TestCase {
AuthorityFactoryProxy<?> proxy;
/*
* Try the proxy using the 'createGeographicCRS', 'createCoordinateReferenceSystem'
- * and 'createObject' methods. The later uses a generic implementation, while the
+ * and 'createObject' methods. The latter uses a generic implementation, while the
* first two should use specialized implementations.
*/
proxy = AuthorityFactoryProxy.getInstance(GeographicCRS.class);
diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/DefaultConversionTest.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/DefaultConversionTest.java
index 647c5ea01d..9426526144 100644
--- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/DefaultConversionTest.java
+++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/DefaultConversionTest.java
@@ -134,7 +134,7 @@ public final strictfp class DefaultConversionTest extends TestCase {
{
/*
* The following code fills the parameter values AND creates itself the MathTransform instance
- * (indirectly, through the matrix). The later step is normally not our business, since we are
+ * (indirectly, through the matrix). The latter step is normally not our business, since we are
* supposed to only fill the parameter values and let MathTransformFactory creates the transform
* from the parameters. But we don't do the normal steps here because this class is a unit test:
* we want to test DefaultConversion in isolation of MathTransformFactory.
diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/DefaultTransformationTest.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/DefaultTransformationTest.java
index 2038949a99..78bed5db77 100644
--- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/DefaultTransformationTest.java
+++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/DefaultTransformationTest.java
@@ -71,7 +71,7 @@ public final strictfp class DefaultTransformationTest extends TestCase {
static DefaultTransformation createGeocentricTranslation() {
/*
* The following code fills the parameter values AND creates itself the MathTransform instance
- * (indirectly, through the matrix). The later step is normally not our business, since we are
+ * (indirectly, through the matrix). The latter step is normally not our business, since we are
* supposed to only fill the parameter values and let MathTransformFactory creates the transform
* from the parameters. But we don't do the normal steps here because this class is a unit test:
* we want to test DefaultTransformation in isolation of MathTransformFactory.
diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/ProjectionResultComparator.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/ProjectionResultComparator.java
index c971cfc1c5..3e28afc2a5 100644
--- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/ProjectionResultComparator.java
+++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/ProjectionResultComparator.java
@@ -92,7 +92,7 @@ final strictfp class ProjectionResultComparator extends NormalizedProjection {
* instance using spherical formulas, by new steps for the same map projection, but comparing the spherical formulas
* with the elliptical ones. This method searches for a {@link NormalizedProjection} instance, which is expected to
* be an inner class named "Spherical". The inner class is then converted to the outer class using reflection, and
- * those two classes are given to the {@link ProjectionResultComparator} constructor. The later is inserted in the
+ * those two classes are given to the {@link ProjectionResultComparator} constructor. The latter is inserted in the
* chain in place of the original spherical formulas.
*/
static MathTransform sphericalAndEllipsoidal(MathTransform transform) {
diff --git a/core/sis-utility/src/main/java/org/apache/sis/internal/util/Constants.java b/core/sis-utility/src/main/java/org/apache/sis/internal/util/Constants.java
index f46e01413b..e5e61a5d59 100644
--- a/core/sis-utility/src/main/java/org/apache/sis/internal/util/Constants.java
+++ b/core/sis-utility/src/main/java/org/apache/sis/internal/util/Constants.java
@@ -137,7 +137,7 @@ public final class Constants extends Static {
/**
* The netCDF parameter name for inverse flattening, and whether that parameter is definitive.
- * The later is specific to SIS.
+ * The latter is specific to SIS.
*/
public static final String INVERSE_FLATTENING = "inverse_flattening",
IS_IVF_DEFINITIVE = "is_ivf_definitive";
diff --git a/core/sis-utility/src/main/java/org/apache/sis/internal/util/Numerics.java b/core/sis-utility/src/main/java/org/apache/sis/internal/util/Numerics.java
index f5700385be..7721bdfa5f 100644
--- a/core/sis-utility/src/main/java/org/apache/sis/internal/util/Numerics.java
+++ b/core/sis-utility/src/main/java/org/apache/sis/internal/util/Numerics.java
@@ -175,7 +175,7 @@ public final class Numerics extends Static {
/**
* Returns a mask with the given bit set. The bit should be a number from 0 inclusive to {@value Long#SIZE} exclusive.
- * If the given bit is outside that range, then this method returns 0. The later condition is the main difference with
+ * If the given bit is outside that range, then this method returns 0. The latter condition is the main difference with
* the {@code 1L << bit} operation since {@code 1L << 64} computes 1. By contrast, {@code bitmask(64)} returns 0.
*
* <p>This method is invoked in contexts where we really need value 0 for a {@code bit} value of {@value Long#SIZE}.
diff --git a/core/sis-utility/src/main/java/org/apache/sis/internal/util/Strings.java b/core/sis-utility/src/main/java/org/apache/sis/internal/util/Strings.java
index a07b1484e2..7a1ce58697 100644
--- a/core/sis-utility/src/main/java/org/apache/sis/internal/util/Strings.java
+++ b/core/sis-utility/src/main/java/org/apache/sis/internal/util/Strings.java
@@ -304,7 +304,7 @@ public final class Strings extends Static {
*
* <p>The content is specified by (<var>key</var>=<var>value</var>) pairs. If a value is {@code null},
* the whole entry is omitted. If a key is {@code null}, the value is written without the {@code "key="}
- * part. The later happens typically when the first value is the object name.</p>
+ * part. The latter happens typically when the first value is the object name.</p>
*
* @param classe the class to format.
* @param properties the (<var>key</var>=<var>value</var>) pairs.
diff --git a/core/sis-utility/src/main/java/org/apache/sis/measure/AbstractUnit.java b/core/sis-utility/src/main/java/org/apache/sis/measure/AbstractUnit.java
index 7cb7ef03f5..5ebe16f1d4 100644
--- a/core/sis-utility/src/main/java/org/apache/sis/measure/AbstractUnit.java
+++ b/core/sis-utility/src/main/java/org/apache/sis/measure/AbstractUnit.java
@@ -427,7 +427,7 @@ abstract class AbstractUnit<Q extends Quantity<Q>> implements Unit<Q>, LenientCo
/**
* If the inverse of the given multiplier is an integer, returns that inverse. Otherwise returns 1.
* This method is used for replacing e.g. {@code multiply(0.001)} calls by {@code divide(1000)} calls.
- * The later allows more accurate operations because of the way {@link LinearConverter} is implemented.
+ * The latter allows more accurate operations because of the way {@link LinearConverter} is implemented.
*/
private static double inverse(final double multiplier) {
if (Math.abs(multiplier) < 1) {
diff --git a/core/sis-utility/src/main/java/org/apache/sis/measure/Range.java b/core/sis-utility/src/main/java/org/apache/sis/measure/Range.java
index 568bf0801a..adde620501 100644
--- a/core/sis-utility/src/main/java/org/apache/sis/measure/Range.java
+++ b/core/sis-utility/src/main/java/org/apache/sis/measure/Range.java
@@ -505,7 +505,7 @@ public class Range<E extends Comparable<? super E>> implements CheckedContainer<
/**
* Compares the {@linkplain #getMinValue() minimum value} of this range with the given endpoint of
* another range. Since the given value is either the minimal or maximal value of another range,
- * it may be inclusive or exclusive. The later is specified by {@code position} as below:
+ * it may be inclusive or exclusive. The latter is specified by {@code position} as below:
*
* <ul>
* <li> 0 if {@code value} is inclusive.</li>
@@ -603,7 +603,7 @@ public class Range<E extends Comparable<? super E>> implements CheckedContainer<
* In particular this method returns {@code true} if the ranges are empty regardless their minimum and maximum values,
* and also returns {@code true} if the bounds are wrappers for some {@link Float#NaN} or {@link Double#NaN} values
* even if their {@linkplain Double#doubleToRawLongBits(double) raw bits pattern} are not the same.
- * The later is because {@link Float#equals(Object)} and {@link Double#equals(Object)} consider all NaN values as equal.
+ * The latter is because {@link Float#equals(Object)} and {@link Double#equals(Object)} consider all NaN values as equal.
*
* @param object the object to compare with this range for equality.
* @return {@code true} if the given object is equal to this range.
diff --git a/core/sis-utility/src/main/java/org/apache/sis/measure/RangeFormat.java b/core/sis-utility/src/main/java/org/apache/sis/measure/RangeFormat.java
index bba92cd0d7..3e35eac1f9 100644
--- a/core/sis-utility/src/main/java/org/apache/sis/measure/RangeFormat.java
+++ b/core/sis-utility/src/main/java/org/apache/sis/measure/RangeFormat.java
@@ -875,7 +875,7 @@ public class RangeFormat extends Format implements Localized {
} else {
/*
* We found an opening bracket. Skip the whitespaces. If the next character is a closing bracket,
- * then we have an empty range. The later case is an extension to the standard format since empty
+ * then we have an empty range. The latter case is an extension to the standard format since empty
* ranges are usually represented by {} instead of [].
*/
isMinIncluded = (c == openInclusive);
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 7ce2f0cebe..80006a0bbf 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
@@ -1966,7 +1966,7 @@ cmp: while (ia < lga) {
* shorter for avoiding to cut in the middle of a word.
*
* <p>The purpose of this method is to create a global identifier from a list of component identifiers.
- * The later are often eastward and northward components of a vector, in which case this method provides
+ * The latter are often eastward and northward components of a vector, in which case this method provides
* an identifier for the vector as a whole.</p>
*
* <div class="note"><b>Example:</b>
diff --git a/core/sis-utility/src/main/java/org/apache/sis/util/resources/package-info.java b/core/sis-utility/src/main/java/org/apache/sis/util/resources/package-info.java
index 7995c33e6c..f6be3048f3 100644
--- a/core/sis-utility/src/main/java/org/apache/sis/util/resources/package-info.java
+++ b/core/sis-utility/src/main/java/org/apache/sis/util/resources/package-info.java
@@ -35,7 +35,7 @@
* {@link java.util.Formatter java.util.Formatter} is an alternative to {@link java.text.MessageFormat} providing
* similar functionalities with a C/C++ like syntax. However {@code MessageFormat} has two advantages: it provides
* a {@code choice} format type (useful for handling plural forms), and localizes properly objects of unspecified type
- * (by contrast, the {@code Formatter} {@code "%s"} type always invoke {@code toString()}). The later advantage is
+ * (by contrast, the {@code Formatter} {@code "%s"} type always invoke {@code toString()}). The latter advantage is
* important for messages in which the same argument could receive {@link java.lang.Number} or {@link java.util.Date}
* instances as well as {@link java.lang.String}. Furthermore, the {@link java.util.logging} framework is designed for
* use with {@code MessageFormat} (see the {@code Formatter.formatMessage(LogRecord)} method).</div>
@@ -43,9 +43,8 @@
* Apache SIS developers can add resources by editing the {@code *.properties} file in the source code directory,
* then run the localized resources compiler provided in the {@code sis-build-helper} module.
* Developers shall <strong>not</strong> apply the {@code MessageFormat} rules for using quotes,
- * since the resources compiler will apply itself the <cite>doubled single quotes</cite> when
- * necessary. This avoid the unfortunate confusion documented in the warning section of
- * {@link java.text.MessageFormat} javadoc.
+ * since the resources compiler will apply itself the <cite>doubled single quotes</cite> when necessary.
+ * This avoid the unfortunate confusion documented in the warning section of {@link java.text.MessageFormat} javadoc.
*
* <h2>Usage</h2>
* All {@link org.apache.sis.util.resources.IndexedResourceBundle} subclasses provide a
diff --git a/core/sis-utility/src/test/java/org/apache/sis/math/DecimalFunctionsTest.java b/core/sis-utility/src/test/java/org/apache/sis/math/DecimalFunctionsTest.java
index f3888df8ee..580a3c992e 100644
--- a/core/sis-utility/src/test/java/org/apache/sis/math/DecimalFunctionsTest.java
+++ b/core/sis-utility/src/test/java/org/apache/sis/math/DecimalFunctionsTest.java
@@ -141,7 +141,7 @@ public final strictfp class DecimalFunctionsTest extends TestCase {
* were known to fail in an earlier version of deltaForDoubleToDecimal, then uses random values.
* The expected values were computed with BigDecimal. The tolerance thresholds were determined
* empirically. Comments on the right side give the tolerance thresholds in ULP of the delta.
- * The later are sometime hight, but it does not really matter. What matter is the tolerance
+ * The latter are sometime hight, but it does not really matter. What matter is the tolerance
* relative to the given value, not to the returned delta.
*/
assertEquals(-1.9216378778219224E-23, deltaForDoubleToDecimal(3.3446045755169960E-7), STRICT);
diff --git a/core/sis-utility/src/test/java/org/apache/sis/util/collection/TreeTableFormatTest.java b/core/sis-utility/src/test/java/org/apache/sis/util/collection/TreeTableFormatTest.java
index d5be2ae971..3ace760e28 100644
--- a/core/sis-utility/src/test/java/org/apache/sis/util/collection/TreeTableFormatTest.java
+++ b/core/sis-utility/src/test/java/org/apache/sis/util/collection/TreeTableFormatTest.java
@@ -219,7 +219,7 @@ public final strictfp class TreeTableFormatTest extends TestCase {
/**
* Implementation of {@link #testLocalizedFormat()}, to be executed only after the default locale
- * has been forced to English. The later is necessary as long as the GeoAPI elements tested below
+ * has been forced to English. The latter is necessary as long as the GeoAPI elements tested below
* do not have translations in all tested languages.
*/
private static void testLocalizedFormatInEnglishEnvironment() {
diff --git a/storage/sis-geotiff/src/main/java/org/apache/sis/storage/geotiff/GridGeometryBuilder.java b/storage/sis-geotiff/src/main/java/org/apache/sis/storage/geotiff/GridGeometryBuilder.java
index f4508ab978..aff4519450 100644
--- a/storage/sis-geotiff/src/main/java/org/apache/sis/storage/geotiff/GridGeometryBuilder.java
+++ b/storage/sis-geotiff/src/main/java/org/apache/sis/storage/geotiff/GridGeometryBuilder.java
@@ -190,7 +190,7 @@ final class GridGeometryBuilder extends GeoKeysLoader {
* If {@link #affine} has been specified with only the scale factor, computes the translation terms now.
* If needed, this method computes the translation terms from the (usually singleton) tie point.
* This happen when the GeoTIFF file has a {@link Tags#ModelPixelScaleTag} and {@link Tags#ModelTiePoints}.
- * The later should have a single record.
+ * The latter should have a single record.
*
* @return {@code true} on success (including nothing to compute), or {@code false} if the computation attempt
* failed because of missing {@link Tags#ModelTiePoints}.
diff --git a/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/Raster.java b/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/Raster.java
index 44196cd2cf..dbda13d835 100644
--- a/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/Raster.java
+++ b/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/Raster.java
@@ -39,7 +39,7 @@ import org.apache.sis.coverage.grid.BufferedGridCoverage;
* <p>The inherited {@link #data} buffer contains the sample values, potentially multi-banded. If there is more than
* one band to put in the rendered image, then each band is a {@linkplain DataBuffer#getNumBanks() separated bank}
* in the buffer, even if two banks are actually wrapping the same arrays with different offsets.
- * The later case is better represented by {@link java.awt.image.PixelInterleavedSampleModel},
+ * The latter case is better represented by {@link java.awt.image.PixelInterleavedSampleModel},
* but it is {@link ImageRenderer} responsibility to perform this substitution as an optimization.</p>
*
* @author Martin Desruisseaux (IRD, Geomatys)
diff --git a/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/CodeType.java b/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/CodeType.java
index 96ee845bb8..bc23d7e1c4 100644
--- a/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/CodeType.java
+++ b/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/CodeType.java
@@ -43,7 +43,7 @@ public enum CodeType {
/**
* The code is a URL like {@code "http:"} or {@code "file:"},
* with the exception of HTTP in the "www.opengis.net" domain.
- * The later case is identified by {@link #HTTP_OGC} instead of this enum.
+ * The latter case is identified by {@link #HTTP_OGC} instead of this enum.
*/
URL(false),
diff --git a/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/TiledGridCoverage.java b/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/TiledGridCoverage.java
index 1f6a737326..646aebf84d 100644
--- a/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/TiledGridCoverage.java
+++ b/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/TiledGridCoverage.java
@@ -826,7 +826,7 @@ public abstract class TiledGridCoverage extends GridCoverage {
/**
* Stores the given raster in the cache. If another raster existed previously in the cache,
* the old raster will be reused if it has the same size and model, or discarded otherwise.
- * The later case may happen if {@link AOI#getCachedTile()} determined that a cached raster
+ * The latter case may happen if {@link AOI#getCachedTile()} determined that a cached raster
* exists but can not be reused.
*
* @param tile the raster to cache.
diff --git a/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/folder/WritableStore.java b/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/folder/WritableStore.java
index add465ccf4..ef5cb3c7a8 100644
--- a/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/folder/WritableStore.java
+++ b/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/folder/WritableStore.java
@@ -221,7 +221,7 @@ final class WritableStore extends Store implements WritableAggregate {
/**
* Invoked for a file in a directory. Deletes the file provided that it is not the {@code root} argument.
- * The later can happen if the path given to {@code deleteRecursively(…)} is a file rather than a directory.
+ * The latter can happen if the path given to {@code deleteRecursively(…)} is a file rather than a directory.
*/
@Override
public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {