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 4fbf95d694ceeac5ea07a77ca2893040b9b6673f Author: Martin Desruisseaux <martin.desruisse...@geomatys.com> AuthorDate: Tue Feb 8 12:08:52 2022 +0100 Typos: "the intend" → "the intent", "parameters values" → "parameter values". --- .../src/main/java/org/apache/sis/internal/gui/GUIUtilities.java | 2 +- .../org/apache/sis/internal/referencing/j2d/AffineTransform2D.java | 2 +- .../src/main/java/org/apache/sis/parameter/Parameters.java | 2 +- .../src/main/java/org/apache/sis/parameter/TensorValues.java | 2 +- .../sis/referencing/operation/projection/NormalizedProjection.java | 2 +- .../sis/referencing/operation/transform/AbstractLinearTransform.java | 2 +- .../sis/referencing/operation/transform/AbstractMathTransform.java | 2 +- .../sis/referencing/operation/transform/DatumShiftTransform.java | 2 +- .../referencing/operation/transform/DefaultMathTransformFactory.java | 2 +- .../referencing/operation/transform/EllipsoidToCentricTransform.java | 2 +- .../apache/sis/referencing/operation/transform/LinearTransform1D.java | 2 +- .../apache/sis/referencing/operation/transform/MolodenskyFormula.java | 2 +- .../src/main/java/org/apache/sis/internal/util/CollectionsExt.java | 4 ++-- .../main/java/org/apache/sis/internal/storage/inflater/Inflater.java | 2 +- .../src/main/java/org/apache/sis/internal/netcdf/Linearizer.java | 2 +- 15 files changed, 16 insertions(+), 16 deletions(-) diff --git a/application/sis-javafx/src/main/java/org/apache/sis/internal/gui/GUIUtilities.java b/application/sis-javafx/src/main/java/org/apache/sis/internal/gui/GUIUtilities.java index 4b5fd4e..63ec905 100644 --- a/application/sis-javafx/src/main/java/org/apache/sis/internal/gui/GUIUtilities.java +++ b/application/sis-javafx/src/main/java/org/apache/sis/internal/gui/GUIUtilities.java @@ -181,7 +181,7 @@ walk: for (final T search : path) { * Copies all elements from the given source list to the specified target list, * but with the application of insertion and removal operations only. * This method is useful when the two lists should be similar. - * The intend is to causes as few change events as possible. + * The intent is to causes as few change events as possible. * * @param <E> type of elements to copy. * @param source the list of elements to copy in the target. 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 409a7b6..127b228 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 @@ -170,7 +170,7 @@ public class AffineTransform2D extends ImmutableAffineTransform } /** - * Returns the matrix elements as a group of parameters values. The number of parameters + * Returns the matrix elements as a group of parameter values. The number of parameters * depends on the matrix size. Only matrix elements different from their default value * will be included in this group. */ diff --git a/core/sis-referencing/src/main/java/org/apache/sis/parameter/Parameters.java b/core/sis-referencing/src/main/java/org/apache/sis/parameter/Parameters.java index 02c1c31..77576e6 100644 --- a/core/sis-referencing/src/main/java/org/apache/sis/parameter/Parameters.java +++ b/core/sis-referencing/src/main/java/org/apache/sis/parameter/Parameters.java @@ -774,7 +774,7 @@ public abstract class Parameters implements ParameterValueGroup, Cloneable { * to some specific implementation, or to a parameter group using a different but compatible * {@linkplain DefaultParameterValueGroup#getDescriptor() descriptor}.</p> * - * @param values the parameters values to copy. + * @param values the parameter values to copy. * @param destination where to copy the values. * @throws InvalidParameterNameException if a {@code source} parameter name is unknown to the {@code destination}. * @throws InvalidParameterValueException if the value of a {@code source} parameter is invalid for the {@code destination}. diff --git a/core/sis-referencing/src/main/java/org/apache/sis/parameter/TensorValues.java b/core/sis-referencing/src/main/java/org/apache/sis/parameter/TensorValues.java index 27b3d22..d94a77d 100644 --- a/core/sis-referencing/src/main/java/org/apache/sis/parameter/TensorValues.java +++ b/core/sis-referencing/src/main/java/org/apache/sis/parameter/TensorValues.java @@ -301,7 +301,7 @@ final class TensorValues<E> extends AbstractParameterDescriptor } /** - * Returns the parameters values in this group. The amount of parameters depends on the value of + * Returns the parameter values in this group. The amount of parameters depends on the value of * {@code "num_row"} and {@code "num_col"} parameters. The parameter array will contain only * matrix elements which have been requested at least once by one of {@code parameter(…)} methods. * Never requested elements are left to their default value and omitted from the returned array. diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/NormalizedProjection.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/NormalizedProjection.java index 73a6261..0955232 100644 --- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/NormalizedProjection.java +++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/NormalizedProjection.java @@ -551,7 +551,7 @@ public abstract class NormalizedProjection extends AbstractMathTransform2D imple * Subclasses shall not use the values defined in the returned object for computation purpose, * except at construction time. * - * @return the parameters values for the sequence of <cite>normalize</cite> → {@code this} → <cite>denormalize</cite> + * @return the parameter values for the sequence of <cite>normalize</cite> → {@code this} → <cite>denormalize</cite> * transforms, or {@code null} if unspecified. */ @Override diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/AbstractLinearTransform.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/AbstractLinearTransform.java index 1ca6a39..d4d0910 100644 --- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/AbstractLinearTransform.java +++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/AbstractLinearTransform.java @@ -177,7 +177,7 @@ abstract class AbstractLinearTransform extends AbstractMathTransform implements } /** - * Returns the matrix elements as a group of parameters values. The number of parameters depends on the + * Returns the matrix elements as a group of parameter values. The number of parameters depends on the * matrix size. Only matrix elements different from their default value will be included in this group. * * @return the parameter values for this math transform. diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/AbstractMathTransform.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/AbstractMathTransform.java index 27f051d..cc0f6f5 100644 --- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/AbstractMathTransform.java +++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/AbstractMathTransform.java @@ -209,7 +209,7 @@ public abstract class AbstractMathTransform extends FormattableObject * If a split has been done, then this {@code MathTransform} represents only the non-linear step and Apache SIS * needs this method for reconstructing the parameters of the complete transform. * - * @return the parameters values for the sequence of <cite>normalize</cite> → {@code this} → <cite>denormalize</cite> + * @return the parameter values for the sequence of <cite>normalize</cite> → {@code this} → <cite>denormalize</cite> * transforms, or {@code null} if unspecified. * Callers should not modify the returned parameters, since modifications (if allowed) * will generally not be reflected back in this {@code MathTransform}. diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/DatumShiftTransform.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/DatumShiftTransform.java index 23d2b1c..0bffe74 100644 --- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/DatumShiftTransform.java +++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/DatumShiftTransform.java @@ -284,7 +284,7 @@ public abstract class DatumShiftTransform extends AbstractMathTransform implemen * including {@linkplain org.apache.sis.referencing.cs.CoordinateSystems#swapAndScaleAxes axis swapping}. * Those parameters are used for formatting <cite>Well Known Text</cite> (WKT) and error messages. * - * @return the parameters values for the sequence of + * @return the parameter values for the sequence of * <cite>normalize</cite> → {@code this} → <cite>denormalize</cite> transforms. */ @Override diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/DefaultMathTransformFactory.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/DefaultMathTransformFactory.java index c8f647b..6c984b8 100644 --- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/DefaultMathTransformFactory.java +++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/DefaultMathTransformFactory.java @@ -1038,7 +1038,7 @@ public class DefaultMathTransformFactory extends AbstractFactory implements Math * * <ol> * <li>Inferring the {@code "semi_major"}, {@code "semi_minor"}, {@code "src_semi_major"}, - * {@code "src_semi_minor"}, {@code "tgt_semi_major"} or {@code "tgt_semi_minor"} parameters values + * {@code "src_semi_minor"}, {@code "tgt_semi_major"} or {@code "tgt_semi_minor"} parameter values * from the {@linkplain org.apache.sis.referencing.datum.DefaultEllipsoid ellipsoids} associated to * the source or target CRS, if those parameters are not explicitly given and if they are relevant * for the coordinate operation method.</li> diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/EllipsoidToCentricTransform.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/EllipsoidToCentricTransform.java index c4d6d17..81b3bbe 100644 --- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/EllipsoidToCentricTransform.java +++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/EllipsoidToCentricTransform.java @@ -399,7 +399,7 @@ public class EllipsoidToCentricTransform extends AbstractMathTransform implement * including {@linkplain org.apache.sis.referencing.cs.CoordinateSystems#swapAndScaleAxes axis swapping}. * Those parameters are used for formatting <cite>Well Known Text</cite> (WKT) and error messages. * - * @return the parameters values for the sequence of + * @return the parameter values for the sequence of * <cite>normalize</cite> → {@code this} → <cite>denormalize</cite> transforms. */ @Override diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/LinearTransform1D.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/LinearTransform1D.java index 0259a0b..2e40cbb 100644 --- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/LinearTransform1D.java +++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/LinearTransform1D.java @@ -139,7 +139,7 @@ class LinearTransform1D extends AbstractMathTransform1D implements LinearTransfo } /** - * Returns the matrix elements as a group of parameters values. The number of parameters + * Returns the matrix elements as a group of parameter values. The number of parameters * depends on the matrix size. Only matrix elements different from their default value * will be included in this group. * diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/MolodenskyFormula.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/MolodenskyFormula.java index 02c0b48..6f6e2a7 100644 --- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/MolodenskyFormula.java +++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/MolodenskyFormula.java @@ -236,7 +236,7 @@ abstract class MolodenskyFormula extends DatumShiftTransform { } /** - * Sets parameters values in the given group for parameters other than axis lengths. + * Sets parameter values in the given group for parameters other than axis lengths. * This method is invoked for both completing contextual parameters ({@code pg == context}) and * for completing internal parameters ({@code pg != context}). When this method is invoked, the * following parameters are already set: diff --git a/core/sis-utility/src/main/java/org/apache/sis/internal/util/CollectionsExt.java b/core/sis-utility/src/main/java/org/apache/sis/internal/util/CollectionsExt.java index 3d4810c..3ff355b 100644 --- a/core/sis-utility/src/main/java/org/apache/sis/internal/util/CollectionsExt.java +++ b/core/sis-utility/src/main/java/org/apache/sis/internal/util/CollectionsExt.java @@ -629,7 +629,7 @@ public final class CollectionsExt extends Static { /** * Returns a more compact representation of the given set. This method is similar to * {@link #unmodifiableOrCopy(Set)} except that it does not wrap the set in an unmodifiable - * view. The intend is to avoid one level of indirection for performance and memory reasons. + * view. The intent is to avoid one level of indirection for performance and memory reasons. * This is okay only if the set is kept in a private field and never escape outside that class. * * @param <E> the type of elements in the set. @@ -651,7 +651,7 @@ public final class CollectionsExt extends Static { /** * Returns a more compact representation of the given list. This method is similar to * {@link #unmodifiableOrCopy(List)} except that it does not wrap the list in an unmodifiable view. - * The intend is to avoid one level of indirection for performance and memory reasons. + * The intent is to avoid one level of indirection for performance and memory reasons. * This is okay only if the list is kept in a private field and never escape outside that class. * * @param <E> the type of elements in the list. diff --git a/storage/sis-geotiff/src/main/java/org/apache/sis/internal/storage/inflater/Inflater.java b/storage/sis-geotiff/src/main/java/org/apache/sis/internal/storage/inflater/Inflater.java index a4d4490..7321c5e 100644 --- a/storage/sis-geotiff/src/main/java/org/apache/sis/internal/storage/inflater/Inflater.java +++ b/storage/sis-geotiff/src/main/java/org/apache/sis/internal/storage/inflater/Inflater.java @@ -132,7 +132,7 @@ public abstract class Inflater implements Closeable { if (i < 0) i = ~i; // No need for array bound check. /* * Following loop iterates exactly once unless `pixelsPerElement` > 1. - * The intend is to ensure that `samplesPerChunk` is also a divisor of `pixelsPerElement`. + * The intent is to ensure that `samplesPerChunk` is also a divisor of `pixelsPerElement`. * If we can not find such value, current implementation will fail at `ensureDivisor` call. * * TODO: to avoid this problem, one possible approach could be to force `maxChunkSize` to be diff --git a/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/Linearizer.java b/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/Linearizer.java index 4a4f6a0..cb03ea3 100644 --- a/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/Linearizer.java +++ b/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/Linearizer.java @@ -253,7 +253,7 @@ public final class Linearizer { longitudeSpan = (float) (xmax - xmin); // For providing a hint in case of failure. /* * If the image is far from equator, replace the middle point by a point close to pole. - * The intend is to avoid using UTM projection for latitudes such as 89°N, because a single + * The intent is to avoid using UTM projection for latitudes such as 89°N, because a single * NaN in transformed coordinates is enough for blocking creation of the localization grid. */ if (ymin >= +Type.POLAR_THRESHOLD) y = ymax;