This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git

commit cab6aef19250aff3479b780e8f50942c7cc2d8d3
Author: Martin Desruisseaux <[email protected]>
AuthorDate: Sat Nov 21 13:04:53 2026 +0100

    Fix some English sentences and adjust import order.
---
 .../main/org/apache/sis/image/ResampledImage.java             |  4 ++--
 .../test/org/apache/sis/image/AggregatedImageTest.java        |  2 +-
 .../main/org/apache/sis/style/se1/function/Interpolate.java   |  8 ++++----
 .../test/org/apache/sis/style/se1/ColorMapTest.java           |  8 +++-----
 .../test/org/apache/sis/style/se1/ColorReplacementTest.java   | 11 +++++------
 .../apache/sis/storage/geotiff/reader/ModelTiePointsTest.java |  2 +-
 .../main/org/apache/sis/storage/netcdf/base/GridMapping.java  |  2 +-
 7 files changed, 17 insertions(+), 20 deletions(-)

diff --git 
a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/image/ResampledImage.java
 
b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/image/ResampledImage.java
index 5df1907fbb..30cf687370 100644
--- 
a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/image/ResampledImage.java
+++ 
b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/image/ResampledImage.java
@@ -75,10 +75,10 @@ import static 
org.apache.sis.image.internal.shared.ImageUtilities.LOGGER;
  *
  * <h2>Interpolated image <i>versus</i> aggregated image</h2>
  * The algorithm used by this class (coordinates transformed from 
<em>this</em> to <em>source</em> image)
- * is suitable to interpolations, which are themselves suitable to both 
upsampling (higher resolution) and
+ * is suitable for interpolations, which are themselves suitable for both 
upsampling (higher resolution) and
  * downsampling (lower resolution).
  * An algorithm using transforms in the opposite direction (from 
<em>source</em> image to <em>this</em> image)
- * is also possible, but is more suitable to aggregation methods such as 
weighted average, median or mode,
+ * is also possible, but is more suitable for aggregation methods such as 
weighted average, median or mode,
  * which are themselves better suited to downsampling rather than upsampling.
  * That alternative approach is handled by the {@link AggregatedImage} class.
  *
diff --git 
a/endorsed/src/org.apache.sis.feature/test/org/apache/sis/image/AggregatedImageTest.java
 
b/endorsed/src/org.apache.sis.feature/test/org/apache/sis/image/AggregatedImageTest.java
index 6ba67ab4ae..e4109df5b2 100644
--- 
a/endorsed/src/org.apache.sis.feature/test/org/apache/sis/image/AggregatedImageTest.java
+++ 
b/endorsed/src/org.apache.sis.feature/test/org/apache/sis/image/AggregatedImageTest.java
@@ -166,7 +166,7 @@ public final class AggregatedImageTest extends TestCase 
implements PlanarImage.O
 
     /**
      * Creates the aggregated image to test and store the image in the {@link 
#image} field.
-     * All other fields of this class must be initialized before to invoke 
this method,
+     * All other fields of this class must be initialized before invoking this 
method,
      * except {@link #bounds} which can be {@code null} for automatic 
calculation.
      *
      * @param  sources  the images to aggregate with their transforms from 
<em>source</em> to <em>this</em>.
diff --git 
a/endorsed/src/org.apache.sis.portrayal/main/org/apache/sis/style/se1/function/Interpolate.java
 
b/endorsed/src/org.apache.sis.portrayal/main/org/apache/sis/style/se1/function/Interpolate.java
index dd2fce7d96..8aa68cb027 100644
--- 
a/endorsed/src/org.apache.sis.portrayal/main/org/apache/sis/style/se1/function/Interpolate.java
+++ 
b/endorsed/src/org.apache.sis.portrayal/main/org/apache/sis/style/se1/function/Interpolate.java
@@ -307,7 +307,7 @@ public final class Interpolate<R> extends 
AbstractLookupFunction<R,Object> {
        private final Expression<R, ? extends Number> data;
 
        /**
-        * The value associated to the data.
+        * The value associated with the data.
         */
        private final Expression<R,?> value;
 
@@ -315,7 +315,7 @@ public final class Interpolate<R> extends 
AbstractLookupFunction<R,Object> {
         * Creates a new interpolation point.
         *
         * @param  data   the data value, usually a literal.
-        * @param  value  the value associated to the data, usually a color 
literal.
+        * @param  value  the value associated with the data, usually a color 
literal.
         */
        public InterpolationPoint(final Expression<R, ? extends Number> data, 
final Expression<R,?> value) {
            this.data  = Objects.requireNonNull(data,  "data");
@@ -332,9 +332,9 @@ public final class Interpolate<R> extends 
AbstractLookupFunction<R,Object> {
        }
 
        /**
-        * Returns the value associated to the data.
+        * Returns the value associated with the data.
         *
-        * @return the value associated to the data.
+        * @return the value associated with the data.
         */
        public Expression<R,?> getValue() {
            return value;
diff --git 
a/endorsed/src/org.apache.sis.portrayal/test/org/apache/sis/style/se1/ColorMapTest.java
 
b/endorsed/src/org.apache.sis.portrayal/test/org/apache/sis/style/se1/ColorMapTest.java
index ffc24e546a..19beaf81f3 100644
--- 
a/endorsed/src/org.apache.sis.portrayal/test/org/apache/sis/style/se1/ColorMapTest.java
+++ 
b/endorsed/src/org.apache.sis.portrayal/test/org/apache/sis/style/se1/ColorMapTest.java
@@ -16,15 +16,13 @@
  */
 package org.apache.sis.style.se1;
 
+import java.util.List;
 import java.awt.Color;
+import org.apache.sis.style.se1.function.Categorize;
+import org.apache.sis.style.se1.function.Interpolate;
 
 // Test dependencies
 import org.junit.jupiter.api.Test;
-
-// Specific to the geoapi-3.1 and geoapi-4.0 branches:
-import java.util.List;
-import org.apache.sis.style.se1.function.Categorize;
-import org.apache.sis.style.se1.function.Interpolate;
 import static org.junit.jupiter.api.Assertions.*;
 
 
diff --git 
a/endorsed/src/org.apache.sis.portrayal/test/org/apache/sis/style/se1/ColorReplacementTest.java
 
b/endorsed/src/org.apache.sis.portrayal/test/org/apache/sis/style/se1/ColorReplacementTest.java
index 179f59f9b7..542bef55d2 100644
--- 
a/endorsed/src/org.apache.sis.portrayal/test/org/apache/sis/style/se1/ColorReplacementTest.java
+++ 
b/endorsed/src/org.apache.sis.portrayal/test/org/apache/sis/style/se1/ColorReplacementTest.java
@@ -16,15 +16,14 @@
  */
 package org.apache.sis.style.se1;
 
-// Test dependencies
-import org.junit.jupiter.api.Test;
-import static org.junit.jupiter.api.Assertions.*;
-
-// Specific to the geoapi-3.1 and geoapi-4.0 branches:
 import java.awt.Color;
 import java.util.List;
-import org.apache.sis.style.se1.function.Recode.MapItem;
 import org.apache.sis.style.se1.function.Recode;
+import org.apache.sis.style.se1.function.Recode.MapItem;
+
+// Test dependencies
+import org.junit.jupiter.api.Test;
+import static org.junit.jupiter.api.Assertions.*;
 
 
 /**
diff --git 
a/endorsed/src/org.apache.sis.storage.geotiff/test/org/apache/sis/storage/geotiff/reader/ModelTiePointsTest.java
 
b/endorsed/src/org.apache.sis.storage.geotiff/test/org/apache/sis/storage/geotiff/reader/ModelTiePointsTest.java
index f95781e93e..d086b6da18 100644
--- 
a/endorsed/src/org.apache.sis.storage.geotiff/test/org/apache/sis/storage/geotiff/reader/ModelTiePointsTest.java
+++ 
b/endorsed/src/org.apache.sis.storage.geotiff/test/org/apache/sis/storage/geotiff/reader/ModelTiePointsTest.java
@@ -240,7 +240,7 @@ public final class ModelTiePointsTest extends TestCase {
     /**
      * Tests a grid where the last step is genuinely shorter than the other 
steps,
      * as in Sentinel 1 images where the tie points are spaced by 1320 pixels 
except
-     * the last two which are 1302 pixels apart. Contrarily to the ICEYE 
grids, the
+     * the last two which are 1302 pixels apart. Contrary to the ICEYE grids, 
the
      * spacing of this grid is not uniform up to a rounding to integers, so it 
has to
      * be handled by splitting the grid in parts.
      *
diff --git 
a/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/base/GridMapping.java
 
b/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/base/GridMapping.java
index f0984e0605..8b6dd3dbd8 100644
--- 
a/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/base/GridMapping.java
+++ 
b/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/base/GridMapping.java
@@ -163,7 +163,7 @@ final class GridMapping {
      *
      * <p>If this <abbr>CRS</abbr> is geographic, its axis order may be 
(latitude, longitude).
      * This order may or may not be consistent with the axis order of netCDF 
variables using this CRS.
-     * Each netCDF variable can have its own axis order and be associated to 
the same <abbr>CRS</abbr>,
+     * Each netCDF variable can have its own axis order and be associated with 
the same <abbr>CRS</abbr>,
      * so users of this <abbr>CRS</abbr> need to check anyway for change of 
axis order.</p>
      *
      * @see #crs()

Reply via email to