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 1448606ef86a0495409b474d8f14a0d9f5703b43 Author: Martin Desruisseaux <martin.desruisse...@geomatys.com> AuthorDate: Sat Sep 16 20:50:16 2023 +0200 Spelling and documentation fixes. --- .../main/org/apache/sis/console/CommandRunner.java | 2 +- .../main/org/apache/sis/geometry/wrapper/Geometries.java | 2 +- .../main/org/apache/sis/image/BandedSampleConverter.java | 12 ++++++------ .../main/org/apache/sis/image/ComputedImage.java | 2 +- .../metadata/iso/DefaultApplicationSchemaInformation.java | 2 +- .../main/org/apache/sis/metadata/iso/DefaultIdentifier.java | 2 +- .../main/org/apache/sis/xml/TransformingWriter.java | 2 +- .../org.apache.sis.metadata/main/org/apache/sis/xml/XML.java | 6 +++--- .../org/apache/sis/metadata/iso/citation/CitationsTest.java | 2 +- .../sis/metadata/iso/citation/DefaultCitationTest.java | 2 +- .../test/org/apache/sis/metadata/xml/TestUsingFile.java | 2 +- .../org/apache/sis/test/xml/AnnotationConsistencyCheck.java | 2 +- .../main/org/apache/sis/style/se1/Graphic.java | 2 +- .../main/org/apache/sis/style/se1/PointPlacement.java | 2 +- .../referencing/gazetteer/MilitaryGridReferenceSystem.java | 2 +- .../main/org/apache/sis/geometry/Envelopes.java | 2 +- .../main/org/apache/sis/geometry/Shapes2D.java | 2 +- .../main/org/apache/sis/io/wkt/Formatter.java | 2 +- .../main/org/apache/sis/io/wkt/GeodeticObjectParser.java | 2 +- .../main/org/apache/sis/referencing/CommonCRS.java | 2 +- .../referencing/operation/CoordinateOperationRegistry.java | 2 +- .../operation/builder/LocalizationGridBuilder.java | 4 ++-- .../org/apache/sis/referencing/operation/provider/NTv2.java | 6 +++--- .../main/org/apache/sis/referencing/util/j2d/Bezier.java | 4 ++-- .../test/org/apache/sis/io/wkt/WKTFormatTest.java | 2 +- .../referencing/operation/CoordinateOperationFinderTest.java | 2 +- .../referencing/operation/provider/MapProjectionTest.java | 2 +- .../main/org/apache/sis/storage/geotiff/GeoTIFF.java | 2 +- .../main/org/apache/sis/storage/geotiff/NativeMetadata.java | 2 +- .../main/org/apache/sis/storage/geotiff/Reader.java | 4 ++-- .../org/apache/sis/storage/geotiff/internal/Compression.java | 2 +- .../org/apache/sis/storage/geotiff/SelfConsistencyTest.java | 2 +- .../org/apache/sis/storage/netcdf/base/FeatureSetTest.java | 2 +- .../org/apache/sis/storage/sql/postgis/ObjectGetter.java | 2 +- .../main/org/apache/sis/io/stream/ChannelDataOutput.java | 2 +- .../org/apache/sis/storage/DataStoreContentException.java | 2 +- .../main/org/apache/sis/storage/base/CodeType.java | 4 ++-- .../main/org/apache/sis/storage/base/MetadataBuilder.java | 2 +- .../main/org/apache/sis/storage/base/TiledGridResource.java | 2 +- .../org/apache/sis/storage/csv/MovingFeatureBuilder.java | 4 ++-- .../main/org/apache/sis/storage/image/WorldFileResource.java | 2 +- .../apache/sis/storage/internal/WritableResourceSupport.java | 2 +- .../main/org/apache/sis/measure/Units.java | 2 +- .../main/org/apache/sis/util/collection/TreeNodeList.java | 2 +- .../test/org/apache/sis/test/TestRunner.java | 2 +- .../org/apache/sis/gui/coverage/StyledRenderingData.java | 2 +- 46 files changed, 60 insertions(+), 60 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 d4423df9ad..22e812b063 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 @@ -331,7 +331,7 @@ abstract class CommandRunner { /** * Shows the help instructions for a specific command. This method is invoked instead of {@link #run()} - * if the the user provided the {@code --help} option. The default implementation builds a description + * if the user provided the {@code --help} option. The default implementation builds a description * from the texts associated to the given {@code resourceKey} in various resource bundles provided in * this {@code org.apache.sis.console} module. Subclasses can override if needed. * diff --git a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/geometry/wrapper/Geometries.java b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/geometry/wrapper/Geometries.java index 0335f9a5b9..08cf842bad 100644 --- a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/geometry/wrapper/Geometries.java +++ b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/geometry/wrapper/Geometries.java @@ -277,7 +277,7 @@ public abstract class Geometries<G> implements Serializable { * * @param geometry the geometry instance to wrap (can be {@code null}). * @return a wrapper for the given geometry implementation, or {@code null} if the given object was null. - * @throws ClassCastException if the the given object is not a wrapper or a geometry object + * @throws ClassCastException if the given object is not a wrapper or a geometry object * of the implementation of the library identified by {@link #library}. * * @see #wrap(Object) diff --git a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/image/BandedSampleConverter.java b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/image/BandedSampleConverter.java index 038a846974..72974b3063 100644 --- a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/image/BandedSampleConverter.java +++ b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/image/BandedSampleConverter.java @@ -318,7 +318,7 @@ class BandedSampleConverter extends WritableComputedImage { /** * Returns the width (in pixels) of this image. - * This is the the same value than the source image (not necessarily zero). + * This is the same value than the source image (not necessarily zero). * * @return the width (number of columns) of this image. */ @@ -329,7 +329,7 @@ class BandedSampleConverter extends WritableComputedImage { /** * Returns the height (in pixels) of this image. - * This is the the same value than the source image (not necessarily zero). + * This is the same value than the source image (not necessarily zero). * * @return the height (number of rows) of this image. */ @@ -340,7 +340,7 @@ class BandedSampleConverter extends WritableComputedImage { /** * Returns the minimum <var>x</var> coordinate (inclusive) of this image. - * This is the the same value than the source image (not necessarily zero). + * This is the same value than the source image (not necessarily zero). * * @return the minimum <var>x</var> coordinate (column) of this image. */ @@ -351,7 +351,7 @@ class BandedSampleConverter extends WritableComputedImage { /** * Returns the minimum <var>y</var> coordinate (inclusive) of this image. - * This is the the same value than the source image (not necessarily zero). + * This is the same value than the source image (not necessarily zero). * * @return the minimum <var>y</var> coordinate (row) of this image. */ @@ -362,7 +362,7 @@ class BandedSampleConverter extends WritableComputedImage { /** * Returns the minimum tile index in the <var>x</var> direction. - * This is the the same value than the source image (not necessarily zero). + * This is the same value than the source image (not necessarily zero). * * @return the minimum tile index in the <var>x</var> direction. */ @@ -373,7 +373,7 @@ class BandedSampleConverter extends WritableComputedImage { /** * Returns the minimum tile index in the <var>y</var> direction. - * This is the the same value than the source image (not necessarily zero). + * This is the same value than the source image (not necessarily zero). * * @return the minimum tile index in the <var>y</var> direction. */ diff --git a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/image/ComputedImage.java b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/image/ComputedImage.java index 55b763e4f6..423be3a371 100644 --- a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/image/ComputedImage.java +++ b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/image/ComputedImage.java @@ -773,7 +773,7 @@ public abstract class ComputedImage extends PlanarImage implements Disposable { /** * Clears the error status of all tiles in the given range of indices. - * Those tiles will be marked as dirty and recomputed next time the the + * Those tiles will be marked as dirty and recomputed next time the * {@link #getTile(int, int)} method is invoked. * The status of valid tiles is unchanged by this method call. * diff --git a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/iso/DefaultApplicationSchemaInformation.java b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/iso/DefaultApplicationSchemaInformation.java index 7dcf937256..ae2b2a4235 100644 --- a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/iso/DefaultApplicationSchemaInformation.java +++ b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/iso/DefaultApplicationSchemaInformation.java @@ -122,7 +122,7 @@ public class DefaultApplicationSchemaInformation extends ISOMetadata implements * Creates a application schema information initialized to the specified values. * * @param name the name of the application schema used. - * @param schemaLanguage the the identification of the schema language used. + * @param schemaLanguage the identification of the schema language used. * @param constraintLanguage the formal language used in application schema. */ public DefaultApplicationSchemaInformation(final Citation name, diff --git a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/iso/DefaultIdentifier.java b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/iso/DefaultIdentifier.java index 32bcaa6095..ad11bc08d7 100644 --- a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/iso/DefaultIdentifier.java +++ b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/metadata/iso/DefaultIdentifier.java @@ -194,7 +194,7 @@ public class DefaultIdentifier extends ISOMetadata implements Identifier { * {@linkplain org.apache.sis.util.CharSequences#isUnicodeIdentifier(CharSequence) unicode identifier}.</li> * </ol> * - * @param authority the the person or party responsible for maintenance of the namespace, or {@code null} if none. + * @param authority the person or party responsible for maintenance of the namespace, or {@code null} if none. * @param code the alphanumeric value identifying an instance in the namespace, or {@code null} if none. * * @see org.apache.sis.metadata.iso.citation.Citations#toCodeSpace(Citation) diff --git a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/TransformingWriter.java b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/TransformingWriter.java index d38dfbe18a..c09ebd33bf 100644 --- a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/TransformingWriter.java +++ b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/TransformingWriter.java @@ -187,7 +187,7 @@ final class TransformingWriter extends Transformer implements XMLEventWriter { private Set<QName> toSkip; /** - * Name of the the root element of a sub-tree to handle in a special way, or {@code null} if none. + * Name of the root element of a sub-tree to handle in a special way, or {@code null} if none. * At first, this is the name of the {@link StartElement} of a sub-tree to defer (i.e. one of the * keys in the {@link #ELEMENTS_TO_REORDER} map). Later, it becomes the names of sub-trees to skip * (i.e. the {@link #toSkip} values). diff --git a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/XML.java b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/XML.java index 0e68b29b8c..d78b12e049 100644 --- a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/XML.java +++ b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/XML.java @@ -498,7 +498,7 @@ public final class XML extends Static { * The destination is specified by the {@code output} argument implementation, for example * {@link javax.xml.transform.stream.StreamResult} for writing to a file or output stream. * The optional {@code properties} map can contain any key documented in this {@code XML} class, - * together with the keys documented in the <cite>supported properties</cite> section of the the + * together with the keys documented in the <cite>supported properties</cite> section of the * {@link Marshaller} class. * * @param object the root of content tree to be marshalled. @@ -631,7 +631,7 @@ public final class XML extends Static { * The source is specified by the {@code input} argument implementation, for example * {@link javax.xml.transform.stream.StreamSource} for reading from a file or input stream. * The optional {@code properties} map can contain any key documented in this {@code XML} class, - * together with the keys documented in the <cite>supported properties</cite> section of the the + * together with the keys documented in the <cite>supported properties</cite> section of the * {@link Unmarshaller} class. * * @param input the file from which to read a XML representation. @@ -673,7 +673,7 @@ public final class XML extends Static { * The source is specified by the {@code input} argument implementation, for example * {@link javax.xml.transform.stream.StreamSource} for reading from a file or input stream. * The optional {@code properties} map can contain any key documented in this {@code XML} class, - * together with the keys documented in the <cite>supported properties</cite> section of the the + * together with the keys documented in the <cite>supported properties</cite> section of the * {@link Unmarshaller} class. * * @param <T> compile-time value of the {@code declaredType} argument. diff --git a/endorsed/src/org.apache.sis.metadata/test/org/apache/sis/metadata/iso/citation/CitationsTest.java b/endorsed/src/org.apache.sis.metadata/test/org/apache/sis/metadata/iso/citation/CitationsTest.java index 461e17aacc..5229338792 100644 --- a/endorsed/src/org.apache.sis.metadata/test/org/apache/sis/metadata/iso/citation/CitationsTest.java +++ b/endorsed/src/org.apache.sis.metadata/test/org/apache/sis/metadata/iso/citation/CitationsTest.java @@ -183,7 +183,7 @@ public final class CitationsTest extends TestCase { assertNull("Shall not be taken as a valid identifier.", Citations.toCodeSpace(new SimpleCitation("Proj.4"))); - assertEquals("Shall fallback on the the identifier space name.", + assertEquals("Shall fallback on the identifier space name.", "TheProj4Space", Citations.toCodeSpace(new Proj4())); } diff --git a/endorsed/src/org.apache.sis.metadata/test/org/apache/sis/metadata/iso/citation/DefaultCitationTest.java b/endorsed/src/org.apache.sis.metadata/test/org/apache/sis/metadata/iso/citation/DefaultCitationTest.java index addd5cd959..e5a0cc1e7d 100644 --- a/endorsed/src/org.apache.sis.metadata/test/org/apache/sis/metadata/iso/citation/DefaultCitationTest.java +++ b/endorsed/src/org.apache.sis.metadata/test/org/apache/sis/metadata/iso/citation/DefaultCitationTest.java @@ -116,7 +116,7 @@ public final class DefaultCitationTest extends TestUsingFile { final IdentifierMap identifierMap = citation.getIdentifierMap(); assertTrue("Expected an initially empty set of identifiers.", identifiers.isEmpty()); /* - * Set the ISBN code, and ensure that the the ISBN is reflected in the identifier map. + * Set the ISBN code, and ensure that the ISBN is reflected in the identifier map. */ citation.setISBN("MyISBN"); assertEquals("MyISBN", citation.getISBN()); diff --git a/endorsed/src/org.apache.sis.metadata/test/org/apache/sis/metadata/xml/TestUsingFile.java b/endorsed/src/org.apache.sis.metadata/test/org/apache/sis/metadata/xml/TestUsingFile.java index 6ef8f9cc2b..8986c4a477 100644 --- a/endorsed/src/org.apache.sis.metadata/test/org/apache/sis/metadata/xml/TestUsingFile.java +++ b/endorsed/src/org.apache.sis.metadata/test/org/apache/sis/metadata/xml/TestUsingFile.java @@ -24,7 +24,7 @@ import org.apache.sis.util.Version; /** * Base class of tests which contain some XML (un)marshalling of metadata as ISO 19115-3 compliant documents. - * Tests use the the files provided in the {@code "2007/"} or {@code "2016/"} sub-directories, depending on + * Tests use the files provided in the {@code "2007/"} or {@code "2016/"} sub-directories, depending on * whether ISO 19139:2007 or ISO 19115-3:2016 schema is used. * * @author Martin Desruisseaux (Geomatys) diff --git a/endorsed/src/org.apache.sis.metadata/test/org/apache/sis/test/xml/AnnotationConsistencyCheck.java b/endorsed/src/org.apache.sis.metadata/test/org/apache/sis/test/xml/AnnotationConsistencyCheck.java index 1a31a0ae4a..6b40a74a76 100644 --- a/endorsed/src/org.apache.sis.metadata/test/org/apache/sis/test/xml/AnnotationConsistencyCheck.java +++ b/endorsed/src/org.apache.sis.metadata/test/org/apache/sis/test/xml/AnnotationConsistencyCheck.java @@ -452,7 +452,7 @@ public abstract class AnnotationConsistencyCheck extends TestCase { assertNotNull("Missing namespace.", namespace); assertFalse("Missing namespace.", namespace.trim().isEmpty()); /* - * Get the namespace declared at the package level, and ensure the the + * Get the namespace declared at the package level, and ensure the * given namespace is not redundant with that package-level namespace. */ final XmlSchema schema = impl.getPackage().getAnnotation(XmlSchema.class); diff --git a/endorsed/src/org.apache.sis.portrayal/main/org/apache/sis/style/se1/Graphic.java b/endorsed/src/org.apache.sis.portrayal/main/org/apache/sis/style/se1/Graphic.java index 4d4654f128..5d14c627ee 100644 --- a/endorsed/src/org.apache.sis.portrayal/main/org/apache/sis/style/se1/Graphic.java +++ b/endorsed/src/org.apache.sis.portrayal/main/org/apache/sis/style/se1/Graphic.java @@ -258,7 +258,7 @@ public class Graphic<R> extends StyleElement<R> implements Translucent<R> { /** * Returns the location inside of a graphic to use for anchoring the graphic to the main-geometry point. * The coordinates are given as (<var>x</var>,<var>y</var>) floating-point numbers - * relative the the graphic bounding box, where (0,0) is the lower-left corner and + * relative the graphic bounding box, where (0,0) is the lower-left corner and * (1,1) is the upper-right corner. * * <p>The returned object is <em>live</em>: diff --git a/endorsed/src/org.apache.sis.portrayal/main/org/apache/sis/style/se1/PointPlacement.java b/endorsed/src/org.apache.sis.portrayal/main/org/apache/sis/style/se1/PointPlacement.java index d81bb30bd0..11b20a42c1 100644 --- a/endorsed/src/org.apache.sis.portrayal/main/org/apache/sis/style/se1/PointPlacement.java +++ b/endorsed/src/org.apache.sis.portrayal/main/org/apache/sis/style/se1/PointPlacement.java @@ -103,7 +103,7 @@ public class PointPlacement<R> extends LabelPlacement<R> { /** * Returns the location inside of a label to use for anchoring the label to the point. * The coordinates are given as (<var>x</var>,<var>y</var>) floating-point numbers - * relative the the label bounding box, where (0,0) is the lower-left corner and + * relative the label bounding box, where (0,0) is the lower-left corner and * (1,1) is the upper-right corner. * * <p>The returned object is <em>live</em>: diff --git a/endorsed/src/org.apache.sis.referencing.gazetteer/main/org/apache/sis/referencing/gazetteer/MilitaryGridReferenceSystem.java b/endorsed/src/org.apache.sis.referencing.gazetteer/main/org/apache/sis/referencing/gazetteer/MilitaryGridReferenceSystem.java index 723f16d979..56bba0d986 100644 --- a/endorsed/src/org.apache.sis.referencing.gazetteer/main/org/apache/sis/referencing/gazetteer/MilitaryGridReferenceSystem.java +++ b/endorsed/src/org.apache.sis.referencing.gazetteer/main/org/apache/sis/referencing/gazetteer/MilitaryGridReferenceSystem.java @@ -1752,7 +1752,7 @@ public class MilitaryGridReferenceSystem extends ReferencingByIdentifiers { /** * Returns the given character as a {@code char} if it is a letter, or throws an exception otherwise. - * The exception should never happen, unless the the encoder is used for a planet larger than Earth + * The exception should never happen, unless the encoder is used for a planet larger than Earth * for which we do not have enough letters. */ private static char letter(final int c) throws GazetteerException { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/geometry/Envelopes.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/geometry/Envelopes.java index 316a613e7b..c86215ca2c 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/geometry/Envelopes.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/geometry/Envelopes.java @@ -720,7 +720,7 @@ nextPoint: for (int pointIndex = 0;;) { // Break condition at th * * Example: If the transformed envelope above is (80 … 85°S, 10 … 50°W), and if the * latitude in the target CRS is bounded at 90°S, then project (90°S, 30°W) - * to the source CRS. Note that the longitude is set to the the center of + * to the source CRS. Note that the longitude is set to the center of * the envelope longitude range (more on this below). * * 2) If the singularity point computed above is inside the source envelope, diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/geometry/Shapes2D.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/geometry/Shapes2D.java index 940837ba20..f3aa671a85 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/geometry/Shapes2D.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/geometry/Shapes2D.java @@ -329,7 +329,7 @@ public final class Shapes2D extends Static { * At this point we found the extremum of the projected line segment * using a cubic curve t = A + Bs + Cs² + Ds³ approximation. Before * to add those extremum into the projected bounding box, we need to - * ensure that the source coordinate is inside the the original + * ensure that the source coordinate is inside the original * (unprojected) bounding box. */ boolean isP2 = false; diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/Formatter.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/Formatter.java index 3431b25267..7da0b28d40 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/Formatter.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/Formatter.java @@ -311,7 +311,7 @@ public class Formatter implements Localized { /** * Indices where to insert additional margin, or {@code null} if none. The margin to insert will be - * the the width of the keyword (e.g. {@code "BOX"}), which is usually unknown to {@code Formatter} + * the width of the keyword (e.g. {@code "BOX"}), which is usually unknown to {@code Formatter} * until {@link FormattableObject} finished to write the element. This field is usually {@code null}, * unless formatting geometries. */ diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/GeodeticObjectParser.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/GeodeticObjectParser.java index 7f0ed9121b..b0a37810d1 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/GeodeticObjectParser.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/io/wkt/GeodeticObjectParser.java @@ -1317,7 +1317,7 @@ class GeodeticObjectParser extends MathTransformParser implements Comparator<Coo * * Note that in WKT 2, this element is wrapped inside a {@code Conversion} or {@code DerivingConversion} * element which is itself inside the {@code ProjectedCRS} element. This is different than WKT 1, which - * puts this element right into the the {@code ProjectedCRS} element without {@code Conversion} wrapper. + * puts this element right into the {@code ProjectedCRS} element without {@code Conversion} wrapper. * * @param mode {@link #FIRST}, {@link #OPTIONAL} or {@link #MANDATORY}. * @param parent the parent element. diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/CommonCRS.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/CommonCRS.java index 0ae6a621a3..985b52f159 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/CommonCRS.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/CommonCRS.java @@ -2046,7 +2046,7 @@ public enum CommonCRS { message = Exceptions.formatChainedMessages(null, message, e); final LogRecord record = new LogRecord(Level.WARNING, message); if (!(e instanceof UnavailableFactoryException) || AuthorityFactories.failure((UnavailableFactoryException) e)) { - // Append the stack trace only if the exception is the the one we expect when the factory is not available. + // Append the stack trace only if the exception is the one we expect when the factory is not available. record.setThrown(e); } Logging.completeAndLog(AuthorityFactories.LOGGER, caller.getClass(), method, record); diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/CoordinateOperationRegistry.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/CoordinateOperationRegistry.java index f7f569b535..c7c43d797f 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/CoordinateOperationRegistry.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/CoordinateOperationRegistry.java @@ -389,7 +389,7 @@ class CoordinateOperationRegistry { * Returns the horizontal component to search in the database, or {@code null} if no search should be done. * This method returns {@code null} if the horizontal component is not different then the given CRS, * in which case searching that CRS in the database would be redundant with previous searches. - * It also returns {@code null} if the CRS is a compound CRS, in which case the the separation + * It also returns {@code null} if the CRS is a compound CRS, in which case the separation * in single CRS should be done by the {@link CoordinateOperationFinder} subclass. */ static SingleCRS horizontal(final CoordinateReferenceSystem crs) { diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/builder/LocalizationGridBuilder.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/builder/LocalizationGridBuilder.java index 5af4440acf..b34ebb9c34 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/builder/LocalizationGridBuilder.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/builder/LocalizationGridBuilder.java @@ -418,7 +418,7 @@ public class LocalizationGridBuilder extends TransformBuilder { * <li>transformed by the inverse of {@linkplain #getSourceToGrid() source to grid} transform.</li> * </ol> * - * @param fullArea whether the the envelope shall encompass the full cell surfaces instead of only their centers. + * @param fullArea whether the envelope shall encompass the full cell surfaces instead of only their centers. * @return the envelope of grid points, from lower corner to upper corner. * @throws IllegalStateException if the grid points are not yet known. * @throws TransformException if the envelope cannot be calculated. @@ -549,7 +549,7 @@ public class LocalizationGridBuilder extends TransformBuilder { * <h4>Example</h4> * for a grid of (<var>longitude</var>, <var>latitude</var>) values in decimal degrees where longitude values * vary (increase or decrease) with increasing column indices and latitude values vary (increase or decrease) - * with increasing row indices, the the following method should be invoked for protecting the grid against + * with increasing row indices, the following method should be invoked for protecting the grid against * discontinuities on anti-meridian: * * {@snippet lang="java" : diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/provider/NTv2.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/provider/NTv2.java index 59153e4622..f3adcb2423 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/provider/NTv2.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/provider/NTv2.java @@ -223,7 +223,7 @@ public final class NTv2 extends AbstractProvider { private enum DataType {STRING, INTEGER, DOUBLE}; /** - * Some known keywords that may appear in NTv2 header records, associated the the expected type of values. + * Some known keywords that may appear in NTv2 header records, associated the expected type of values. * The type is not encoded in a NTv2 file; it has to be hard-coded in this table. The first 11 entries in * this map (ignoring entries marked by "NTv1") are typically found in overview header, and the remaining * entries in the sub-grid headers. @@ -418,7 +418,7 @@ public final class NTv2 extends AbstractProvider { if (key.equals(numkey) || key.equals("HEADER")) { /* * HEADER (NTv1), NUM_OREC (NTv2) or NUM_SREC specify the number of records expected - * in the header, which may the the header that we are reading right now. If value + * in the header, which may the header that we are reading right now. If value * applies to the reader we are reading, we need to update `numRecords` on the fly. */ numRecords = n; @@ -624,7 +624,7 @@ public final class NTv2 extends AbstractProvider { } /** - * Returns the value for the given key, or thrown an exception if the value is not found. + * Returns the value for the given key, or throws an exception if the value is not found. * Before to fail if the key is not found, this method searches for a value associated to * an alternative name. That alternative should be the name used in legacy NTv1. * diff --git a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/util/j2d/Bezier.java b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/util/j2d/Bezier.java index a3de4bb33b..c7956d13f3 100644 --- a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/util/j2d/Bezier.java +++ b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/util/j2d/Bezier.java @@ -180,8 +180,8 @@ public abstract class Bezier { * @param tmax <var>t</var> value of the end point (initially 1). * @param x2 <var>x</var> coordinate at <var>t</var>=½ (mid-point). * @param y2 <var>y</var> coordinate at <var>t</var>=½ (mid-point). - * @param dx2 <var>x</var> component of the the derivative (∂y/∂x) at mid-point. - * @param dy2 <var>y</var> component of the the derivative (∂y/∂x) at mid-point. + * @param dx2 <var>x</var> component of the derivative (∂y/∂x) at mid-point. + * @param dy2 <var>y</var> component of the derivative (∂y/∂x) at mid-point. * @param x4 <var>x</var> coordinate at <var>t</var>=1 (end point). * @param y4 <var>y</var> coordinate at <var>t</var>=1 (end point). * @param dx4 <var>x</var> component of the derivative (∂y/∂x) at end point. diff --git a/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/io/wkt/WKTFormatTest.java b/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/io/wkt/WKTFormatTest.java index 891babf259..b2ae9b6e07 100644 --- a/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/io/wkt/WKTFormatTest.java +++ b/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/io/wkt/WKTFormatTest.java @@ -344,7 +344,7 @@ public final class WKTFormatTest extends TestCase { " AXIS[“Northing”, NORTH]]", format.format(crs)); /* - * Formats using GeoTiff identifiers. We should get different strings in PROJECTION[...] + * Formats using GeoTIFF identifiers. We should get different strings in PROJECTION[...] * and PARAMETER[...] elements, but the other ones (especially DATUM[...]) are unchanged. */ format.setNameAuthority(Citations.GEOTIFF); diff --git a/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/operation/CoordinateOperationFinderTest.java b/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/operation/CoordinateOperationFinderTest.java index 9ff449ef42..e4843b6bd5 100644 --- a/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/operation/CoordinateOperationFinderTest.java +++ b/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/operation/CoordinateOperationFinderTest.java @@ -494,7 +494,7 @@ public final class CoordinateOperationFinderTest extends MathTransformTestCase { /** * Tests a datum shift applied as a position vector transformation in geocentric domain. - * This test does not use the the EPSG geodetic dataset. + * This test does not use the EPSG geodetic dataset. * * @throws ParseException if a CRS used in this test cannot be parsed. * @throws FactoryException if the operation cannot be created. diff --git a/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/operation/provider/MapProjectionTest.java b/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/operation/provider/MapProjectionTest.java index de05366144..3136586f29 100644 --- a/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/operation/provider/MapProjectionTest.java +++ b/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/operation/provider/MapProjectionTest.java @@ -146,7 +146,7 @@ public final class MapProjectionTest extends TestCase { } /** - * Asserts the the given parameter forces its value to zero. + * Asserts the given parameter forces its value to zero. * This test is mostly for {@link Equirectangular#LATITUDE_OF_ORIGIN}. */ private static void assertIsForcedToZero(final ParameterDescriptor<?> parameter) { diff --git a/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/GeoTIFF.java b/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/GeoTIFF.java index 7f289e6418..bbda390177 100644 --- a/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/GeoTIFF.java +++ b/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/GeoTIFF.java @@ -56,7 +56,7 @@ abstract class GeoTIFF implements Closeable { static final short BIG_ENDIAN = 0x4D4D, LITTLE_ENDIAN = 0x4949; /** - * The magic number for classic (32 bits) or big TIFF files. + * The magic number for classic (32 bits) or big TIFF (64 bits) files. */ static final short CLASSIC = 42, BIG_TIFF= 43; diff --git a/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/NativeMetadata.java b/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/NativeMetadata.java index 7d273f79a9..63dd857e83 100644 --- a/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/NativeMetadata.java +++ b/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/NativeMetadata.java @@ -234,7 +234,7 @@ final class NativeMetadata extends GeoKeysLoader { /** * Reads the {@code short}, {@code int} or {@code long} value (depending if the - * file is standard of big TIFF) at the current {@linkplain Reader#input} position. + * file is standard or big TIFF) at the current {@linkplain Reader#input} position. */ private long readInt(final boolean isShort) throws IOException { if (isClassic) { diff --git a/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/Reader.java b/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/Reader.java index 02affe288a..64aabf9ff0 100644 --- a/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/Reader.java +++ b/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/Reader.java @@ -203,7 +203,7 @@ final class Reader extends GeoTIFF { /** * Reads the {@code int} or {@code long} value (depending if the file is - * a standard of big TIFF) at the current {@linkplain #input} position. + * a standard or big TIFF) at the current {@linkplain #input} position. * * @return the next pointer value. */ @@ -220,7 +220,7 @@ final class Reader extends GeoTIFF { /** * Reads the {@code short} or {@code long} value (depending if the file is - * standard of big TIFF) at the current {@linkplain #input} position. + * standard or big TIFF) at the current {@linkplain #input} position. * * @return the next directory entry value. */ diff --git a/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/internal/Compression.java b/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/internal/Compression.java index 9326d9c0df..b6b71bea55 100644 --- a/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/internal/Compression.java +++ b/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/internal/Compression.java @@ -77,7 +77,7 @@ public enum Compression { /** * Deflate compression, like ZIP format. This is sometimes named {@code "ADOBE_DEFLATE"}, - * withe the {@code "DEFLATE"} name used for another compression method with code 32946. + * with the {@code "DEFLATE"} name used for another compression method with code 32946. * <ul> * <li>Name in WCS query: "Deflate"</li> * <li>Name in WCS response: "Deflate"</li> diff --git a/endorsed/src/org.apache.sis.storage.geotiff/test/org/apache/sis/storage/geotiff/SelfConsistencyTest.java b/endorsed/src/org.apache.sis.storage.geotiff/test/org/apache/sis/storage/geotiff/SelfConsistencyTest.java index 426ad766f6..9896074fe2 100644 --- a/endorsed/src/org.apache.sis.storage.geotiff/test/org/apache/sis/storage/geotiff/SelfConsistencyTest.java +++ b/endorsed/src/org.apache.sis.storage.geotiff/test/org/apache/sis/storage/geotiff/SelfConsistencyTest.java @@ -101,7 +101,7 @@ public final class SelfConsistencyTest extends CoverageReadConsistency { assertFalse(datasets.isEmpty()); for (GridCoverageResource dataset : datasets) { final GenericName name = dataset.getIdentifier() - .orElseThrow(() -> new AssertionError("A component of the GeoTiff datastore is unnamed")); + .orElseThrow(() -> new AssertionError("A component of the GeoTIFF datastore is unnamed")); GridCoverageResource foundResource = store.findResource(name.toString()); assertSame(dataset, foundResource); foundResource = store.findResource(name.tip().toString()); diff --git a/endorsed/src/org.apache.sis.storage.netcdf/test/org/apache/sis/storage/netcdf/base/FeatureSetTest.java b/endorsed/src/org.apache.sis.storage.netcdf/test/org/apache/sis/storage/netcdf/base/FeatureSetTest.java index 13caeffe30..f4b6f60c7a 100644 --- a/endorsed/src/org.apache.sis.storage.netcdf/test/org/apache/sis/storage/netcdf/base/FeatureSetTest.java +++ b/endorsed/src/org.apache.sis.storage.netcdf/test/org/apache/sis/storage/netcdf/base/FeatureSetTest.java @@ -193,7 +193,7 @@ public class FeatureSetTest extends TestCase { } /** - * Asserts the the given shape is a line string with the following coordinates. + * Asserts the given shape is a line string with the following coordinates. * * @param trajectory the shape to verify. * @param x expected X coordinates. diff --git a/endorsed/src/org.apache.sis.storage.sql/main/org/apache/sis/storage/sql/postgis/ObjectGetter.java b/endorsed/src/org.apache.sis.storage.sql/main/org/apache/sis/storage/sql/postgis/ObjectGetter.java index 4371e14132..455893214a 100644 --- a/endorsed/src/org.apache.sis.storage.sql/main/org/apache/sis/storage/sql/postgis/ObjectGetter.java +++ b/endorsed/src/org.apache.sis.storage.sql/main/org/apache/sis/storage/sql/postgis/ObjectGetter.java @@ -62,7 +62,7 @@ final class ObjectGetter extends ValueGetter<Object> { /* * TODO: we should invoke `getType()` and select a decoding algorithm depending on the type. * The driver also has a `PGBinaryObject` that we can check for more efficient data transfer - * of points and bounding boxes. For now we just get the the wrapped value, which is always + * of points and bounding boxes. For now we just get the wrapped value, which is always * a `String`. */ value = po.getValue(); diff --git a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/io/stream/ChannelDataOutput.java b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/io/stream/ChannelDataOutput.java index d2225eff51..28c4493d88 100644 --- a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/io/stream/ChannelDataOutput.java +++ b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/io/stream/ChannelDataOutput.java @@ -118,7 +118,7 @@ public class ChannelDataOutput extends ChannelData implements Flushable { } while (after > capacity); /* * We wrote a sufficient amount of bytes - usually all of them, but not necessarily. - * If there is some unwritten bytes, move them the the beginning of the buffer. + * If there is some unwritten bytes, move them the beginning of the buffer. */ bufferOffset += buffer.position(); buffer.compact(); diff --git a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/DataStoreContentException.java b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/DataStoreContentException.java index 0411bd62c3..3528b8ec0d 100644 --- a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/DataStoreContentException.java +++ b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/DataStoreContentException.java @@ -25,7 +25,7 @@ import java.util.Locale; * or an unsupported file format version, <i>etc.</i> * * <h2>Usage note</h2> - * exceptions that are caused by {@link java.io.IOException} or {@link java.sql.SQLException} + * Exceptions that are caused by {@link java.io.IOException} or {@link java.sql.SQLException} * should generally be wrapped by another type of {@link DataStoreException}, unless the data * store can determine that the error was caused by a problem with the stream content rather * than some I/O problems. diff --git a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/CodeType.java b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/CodeType.java index 794a498346..e6ae54d238 100644 --- a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/CodeType.java +++ b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/CodeType.java @@ -72,7 +72,7 @@ public enum CodeType { /** * Whether the code may be understood by the {@link org.apache.sis.referencing.CRS#forCode(String)}. - * A value of {@code true} does not guaranteed the the code is valid. It only said that there is some + * A value of {@code true} does not guaranteed the code is valid. It only said that there is some * chances that the code is valid. */ public final boolean isCRS; @@ -138,7 +138,7 @@ public enum CodeType { c = codeOrPath.charAt(separator); } while (c == '.'); /* - * If the the ':' if followed by at least one '/' (ignoring spaces and dots), then it is presumed + * If the ':' if followed by at least one '/' (ignoring spaces and dots), then it is presumed * to be a URL protocol. In the special case where the protocol is "http(s)" and the domain after * the '/' characters is "www.opengis.net", return HTTP_OGC instead of URL. */ diff --git a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/MetadataBuilder.java b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/MetadataBuilder.java index 9ea4c95866..dd272ac230 100644 --- a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/MetadataBuilder.java +++ b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/MetadataBuilder.java @@ -974,7 +974,7 @@ public class MetadataBuilder { * <li><b>Resource:</b> {@code metadata/identificationInfo/citation/identifier}</li> * </ul> * - * @param authority the the person or party responsible for maintenance of the namespace, or {@code null} if none. + * @param authority the person or party responsible for maintenance of the namespace, or {@code null} if none. * @param code the identifier code, or {@code null} for no-operation. * @param scope whether the date applies to data, to metadata or to both. * diff --git a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/TiledGridResource.java b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/TiledGridResource.java index 816c4085ff..c6f2b2ee71 100644 --- a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/TiledGridResource.java +++ b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/TiledGridResource.java @@ -253,7 +253,7 @@ public abstract class TiledGridResource extends AbstractGridCoverageResource { /** * Sample dimensions for each image band. This is the range of the grid coverage to create. - * If {@link #includedBands} is non-null, then the the size of this list should be equal to + * If {@link #includedBands} is non-null, then the size of this list should be equal to * {@link #includedBands} array length. However, bands are not necessarily in the same order: * the order of bands in this {@code ranges} list is the order specified by user, while the * order of bands in {@link #includedBands} is always increasing index order for efficiency diff --git a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/csv/MovingFeatureBuilder.java b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/csv/MovingFeatureBuilder.java index 161f864cac..73db51041d 100644 --- a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/csv/MovingFeatureBuilder.java +++ b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/csv/MovingFeatureBuilder.java @@ -116,7 +116,7 @@ final class MovingFeatureBuilder extends MovingFeatures { * The minimal and maximal values will be used by {@link #storeTimeRange(String, String, Feature)}. * * @param startTime beginning in milliseconds since Java epoch of the period when the property value is valid. - * @param endTime end in milliseconds since Java epoch of the period when the the property value is valid. + * @param endTime end in milliseconds since Java epoch of the period when the property value is valid. */ public final void addTimeRange(final long startTime, final long endTime) { if (startTime < tmin) tmin = startTime; @@ -128,7 +128,7 @@ final class MovingFeatureBuilder extends MovingFeatures { * * @param index the property index. * @param startTime beginning in milliseconds since Java epoch of the period when the property value is valid. - * @param endTime end in milliseconds since Java epoch of the period when the the property value is valid. + * @param endTime end in milliseconds since Java epoch of the period when the property value is valid. * @param value the property value which is valid during the given period. */ public final void addValue(final int index, final long startTime, final long endTime, final Object value) { diff --git a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/image/WorldFileResource.java b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/image/WorldFileResource.java index 50690e152c..9673e733fa 100644 --- a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/image/WorldFileResource.java +++ b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/image/WorldFileResource.java @@ -288,7 +288,7 @@ class WorldFileResource extends AbstractGridCoverageResource implements StoreRes * Image I/O: xₒ = xᵣ + (x⋅s + Δx′) * GridGeometry: xₒ = (truncate(xᵣ/s) + x)⋅s + Δx * - * Where xᵣ is the the lower coordinate of `region`, s is the subsampling and + * Where xᵣ is the lower coordinate of `region`, s is the subsampling and * `truncate(xᵣ/s)` is given by the lower coordinate of subsampled extent. * Rearranging equations: * diff --git a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/internal/WritableResourceSupport.java b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/internal/WritableResourceSupport.java index 302faa3c00..471ff22b68 100644 --- a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/internal/WritableResourceSupport.java +++ b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/internal/WritableResourceSupport.java @@ -131,7 +131,7 @@ public final class WritableResourceSupport implements Localized { * <li>If the given channel is empty, then this method always returns {@code true}.</li> * <li>Otherwise this method returns {@code true} if the {@code REPLACE} option was specified, * or returns {@code false} if the {@code UPDATE} option was specified, - * or thrown a {@link ResourceAlreadyExistsException} otherwise.</li> + * or throws a {@link ResourceAlreadyExistsException} otherwise.</li> * </ul> * * @param input the channel to test for emptiness, or {@code null} if unknown. diff --git a/endorsed/src/org.apache.sis.util/main/org/apache/sis/measure/Units.java b/endorsed/src/org.apache.sis.util/main/org/apache/sis/measure/Units.java index b9844564bc..9be723171d 100644 --- a/endorsed/src/org.apache.sis.util/main/org/apache/sis/measure/Units.java +++ b/endorsed/src/org.apache.sis.util/main/org/apache/sis/measure/Units.java @@ -549,7 +549,7 @@ public final class Units extends Static { /** * Unit of measurement approximately equals to 365.24219 days (1 a). * This is defined by the International Union of Geological Sciences (IUGS) as exactly 31556925.445 seconds, - * taken as the length of the tropical year in the the year 2000. + * taken as the length of the tropical year in the year 2000. * The {@linkplain ConventionalUnit#getSystemUnit() system unit} is {@link #SECOND}, * the unlocalized name is “year” and the identifier is EPSG:1029. * 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 d10b6fadbe..44c10fbb67 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 @@ -237,7 +237,7 @@ abstract class TreeNodeList extends AbstractList<TreeTable.Node> } /** - * Ensures the the given node is not already present in this list. This checks is performed + * Ensures the given node is not already present in this list. This checks is performed * only if a newly added node declares to have this list {@linkplain #parent}. Such case may * occur either because the node is a custom user implementation with pre-set parent, or * because the node is already presents in this list. diff --git a/endorsed/src/org.apache.sis.util/test/org/apache/sis/test/TestRunner.java b/endorsed/src/org.apache.sis.util/test/org/apache/sis/test/TestRunner.java index 51c70756aa..81e61c19f2 100644 --- a/endorsed/src/org.apache.sis.util/test/org/apache/sis/test/TestRunner.java +++ b/endorsed/src/org.apache.sis.util/test/org/apache/sis/test/TestRunner.java @@ -73,7 +73,7 @@ public final class TestRunner extends BlockJUnit4ClassRunner { * Values are method names. * * <p>There is no need to prefix the method names by classnames because a new instance of {@code TestRunner} - * will be created for each test class, even if the the test classes are aggregated in a test suite.</p> + * will be created for each test class, even if the test classes are aggregated in a test suite.</p> * * @see #addDependencyFailure(String) */ diff --git a/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/coverage/StyledRenderingData.java b/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/coverage/StyledRenderingData.java index 7ecef0bfe4..19427b82e5 100644 --- a/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/coverage/StyledRenderingData.java +++ b/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/coverage/StyledRenderingData.java @@ -79,7 +79,7 @@ final class StyledRenderingData extends RenderingData { } /** - * Prepares isolines by computing the the Java2D shapes that were not already computed in a previous rendering. + * Prepares isolines by computing the Java2D shapes that were not already computed in a previous rendering. * This method shall be invoked in a background thread after image rendering has been completed (because this * method uses some image computation results). *