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


The following commit(s) were added to refs/heads/geoapi-4.0 by this push:
     new 0ce17f2e31 Spelling fix: "there is two" → "there are two". 
(side-effect of editorial corrections on OGC Testbed-19).
0ce17f2e31 is described below

commit 0ce17f2e31fa0ac7aa02b0e466c60dc8cc7cc456
Author: Martin Desruisseaux <[email protected]>
AuthorDate: Fri Jan 12 11:47:43 2024 +0100

    Spelling fix: "there is two" → "there are two".
    (side-effect of editorial corrections on OGC Testbed-19).
---
 .../main/org/apache/sis/coverage/grid/ConvertedGridCoverage.java      | 2 +-
 .../main/org/apache/sis/coverage/grid/j2d/ColorModelBuilder.java      | 2 +-
 .../main/org/apache/sis/geometry/wrapper/j2d/PathBuilder.java         | 2 +-
 .../main/org/apache/sis/image/ComputedImage.java                      | 4 ++--
 .../test/org/apache/sis/coverage/grid/GridDerivationTest.java         | 2 +-
 .../main/org/apache/sis/xml/bind/NonMarshalledAuthority.java          | 2 +-
 .../main/org/apache/sis/portrayal/Canvas.java                         | 2 +-
 .../apache/sis/referencing/gazetteer/MilitaryGridReferenceSystem.java | 2 +-
 .../test/org/apache/sis/referencing/gazetteer/LocationViewer.java     | 2 +-
 .../main/org/apache/sis/parameter/DefaultParameterDescriptor.java     | 2 +-
 .../main/org/apache/sis/parameter/package-info.java                   | 2 +-
 .../apache/sis/referencing/factory/sql/CoordinateOperationSet.java    | 2 +-
 .../apache/sis/referencing/operation/CoordinateOperationFinder.java   | 2 +-
 .../referencing/operation/transform/DefaultMathTransformFactory.java  | 2 +-
 .../sis/referencing/operation/transform/ProjectiveTransformTest.java  | 2 +-
 .../org/apache/sis/referencing/report/CoordinateOperationMethods.java | 2 +-
 .../main/org/apache/sis/storage/geotiff/Writer.java                   | 2 +-
 .../org/apache/sis/storage/geotiff/inflater/HorizontalPredictor.java  | 2 +-
 .../main/org/apache/sis/storage/netcdf/NetcdfStore.java               | 2 +-
 .../main/org/apache/sis/storage/netcdf/base/GridCacheKey.java         | 2 +-
 .../main/org/apache/sis/storage/netcdf/base/RasterResource.java       | 4 ++--
 .../main/org/apache/sis/storage/xml/stream/StaxDataStore.java         | 2 +-
 .../main/org/apache/sis/storage/xml/stream/StaxStreamWriter.java      | 2 +-
 .../main/org/apache/sis/storage/aggregate/MergeStrategy.java          | 2 +-
 .../main/org/apache/sis/storage/base/TiledGridCoverage.java           | 2 +-
 .../src/org.apache.sis.util/main/org/apache/sis/math/ArrayVector.java | 2 +-
 .../main/org/apache/sis/gui/coverage/GridViewSkin.java                | 2 +-
 .../main/org/apache/sis/gui/dataset/ResourceItem.java                 | 2 +-
 .../org.apache.sis.gui/main/org/apache/sis/gui/map/MapCanvasAWT.java  | 2 +-
 29 files changed, 31 insertions(+), 31 deletions(-)

diff --git 
a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/coverage/grid/ConvertedGridCoverage.java
 
b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/coverage/grid/ConvertedGridCoverage.java
index ae687a0613..72b563138e 100644
--- 
a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/coverage/grid/ConvertedGridCoverage.java
+++ 
b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/coverage/grid/ConvertedGridCoverage.java
@@ -38,7 +38,7 @@ import org.opengis.coverage.CannotEvaluateException;
 
 /**
  * Decorates a {@link GridCoverage} in order to convert sample values on the 
fly.
- * There is two strategies about when to convert sample values:
+ * There are two strategies about when to convert sample values:
  *
  * <ul>
  *   <li>In calls to {@link #render(GridExtent)}, sample values are converted 
when first needed
diff --git 
a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/coverage/grid/j2d/ColorModelBuilder.java
 
b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/coverage/grid/j2d/ColorModelBuilder.java
index 03bee1d13c..a57657d6f0 100644
--- 
a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/coverage/grid/j2d/ColorModelBuilder.java
+++ 
b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/coverage/grid/j2d/ColorModelBuilder.java
@@ -476,7 +476,7 @@ public final class ColorModelBuilder {
      * The {@link SampleDimension#getTransferFunction()} returns the 
conversion from original ranges
      * to ranges of pixel values in the colorized image.
      *
-     * <p>There is two outputs: the {@link #target} sample dimension, and 
modifications done in-place in the
+     * <p>There are two outputs: the {@link #target} sample dimension, and 
modifications done in-place in the
      * {@link #entries} array. For each {@link ColorsForRange} instance, the 
{@link ColorsForRange#sampleRange}
      * range is replaced by range of indexed colors. In addition {@code 
entries} elements may be reordered.</p>
      *
diff --git 
a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/geometry/wrapper/j2d/PathBuilder.java
 
b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/geometry/wrapper/j2d/PathBuilder.java
index c2f063f042..2264df5faa 100644
--- 
a/endorsed/src/org.apache.sis.feature/main/org/apache/sis/geometry/wrapper/j2d/PathBuilder.java
+++ 
b/endorsed/src/org.apache.sis.feature/main/org/apache/sis/geometry/wrapper/j2d/PathBuilder.java
@@ -198,7 +198,7 @@ public class PathBuilder {
         assert isValidSize(coordinates.length) : size;
         /*
          * If the point would be alone, discard the lonely point because it 
would be invisible
-         * (a "move to" operation without "line to"). If there is two points, 
they should not
+         * (a "move to" operation without "line to"). If there are two points, 
they should not
          * be equal because `append(…)` filtered repetitive points.
          */
         if (size >= 2*DIMENSION) {
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 d0b3a86daf..941c05dee2 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
@@ -644,7 +644,7 @@ public abstract class ComputedImage extends PlanarImage 
implements Disposable {
 
     /**
      * Returns whether any tile is under computation or is checked out for 
writing.
-     * There is two reasons why this method may return {@code true}:
+     * There are two reasons why this method may return {@code true}:
      *
      * <ul>
      *   <li>At least one {@link #computeTile(int, int, WritableRaster) 
computeTile(…)}
@@ -666,7 +666,7 @@ public abstract class ComputedImage extends PlanarImage 
implements Disposable {
 
     /**
      * Returns whether the specified tile is currently under computation or 
checked out for writing.
-     * There is two reasons why this method may return {@code true}:
+     * There are two reasons why this method may return {@code true}:
      *
      * <ul>
      *   <li><code>{@linkplain #computeTile(int, int, WritableRaster) 
computeTile}(tileX, tileY, …)</code>
diff --git 
a/endorsed/src/org.apache.sis.feature/test/org/apache/sis/coverage/grid/GridDerivationTest.java
 
b/endorsed/src/org.apache.sis.feature/test/org/apache/sis/coverage/grid/GridDerivationTest.java
index aa2229d373..a1e93bc8cd 100644
--- 
a/endorsed/src/org.apache.sis.feature/test/org/apache/sis/coverage/grid/GridDerivationTest.java
+++ 
b/endorsed/src/org.apache.sis.feature/test/org/apache/sis/coverage/grid/GridDerivationTest.java
@@ -522,7 +522,7 @@ public final class GridDerivationTest extends TestCase {
                         0,   0,   2,    3,
                         0,   0,   0,    1)), HardCodedCRS.WGS84_3D);
         /*
-         * There is two ways to ask for a slice. The first way is to set some 
coordinates to NaN.
+         * There are two ways to ask for a slice. The first way is to set some 
coordinates to NaN.
          */
         GridGeometry slice = grid.derive().slice(new 
GeneralDirectPosition(Double.NaN, Double.NaN, 15)).build();
         assertNotSame(grid, slice);
diff --git 
a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/bind/NonMarshalledAuthority.java
 
b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/bind/NonMarshalledAuthority.java
index ca8370f599..7bcdb35fc5 100644
--- 
a/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/bind/NonMarshalledAuthority.java
+++ 
b/endorsed/src/org.apache.sis.metadata/main/org/apache/sis/xml/bind/NonMarshalledAuthority.java
@@ -37,7 +37,7 @@ import org.apache.sis.xml.IdentifierSpace;
  * marshalled in a {@code MD_Identifier} XML element. Those identifiers are 
also excluded from the
  * tree formatted by {@link 
org.apache.sis.metadata.AbstractMetadata#asTreeTable()}.
  *
- * <p>There is two kinds of non-marshalled identifiers:</p>
+ * <p>There are two kinds of non-marshalled identifiers:</p>
  *
  * <ul>
  *   <li>The XML attributes declared by ISO 19115-3 specification in the 
{@code gco:PropertyType}
diff --git 
a/endorsed/src/org.apache.sis.portrayal/main/org/apache/sis/portrayal/Canvas.java
 
b/endorsed/src/org.apache.sis.portrayal/main/org/apache/sis/portrayal/Canvas.java
index 1d62732fd5..1cef1986c1 100644
--- 
a/endorsed/src/org.apache.sis.portrayal/main/org/apache/sis/portrayal/Canvas.java
+++ 
b/endorsed/src/org.apache.sis.portrayal/main/org/apache/sis/portrayal/Canvas.java
@@ -86,7 +86,7 @@ import org.opengis.coverage.CannotEvaluateException;
  * geographic bounding box of the data shown on screen, are inferred from 
above properties.
  *
  * <h2>Coordinate Reference Systems</h2>
- * There is three {@linkplain CoordinateReferenceSystem Coordinate Reference 
Systems}
+ * There are three {@linkplain CoordinateReferenceSystem Coordinate Reference 
Systems}
  * involved in the rendering of geospatial data:
  *
  * <ol class="verbose">
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 9a0f896cea..df1840c960 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
@@ -2154,7 +2154,7 @@ parse:                  switch (part) {
                 /*
                  * Update the LocationType according the precision.
                  * This update is mostly for documentation purpose.
-                 * There is three levels:
+                 * There are three levels:
                  *
                  *   - Grid zone designator         (if 
hasSquareIdentification == false)
                  *   - 100 km square identifier     (if resolution == 100 km)
diff --git 
a/endorsed/src/org.apache.sis.referencing.gazetteer/test/org/apache/sis/referencing/gazetteer/LocationViewer.java
 
b/endorsed/src/org.apache.sis.referencing.gazetteer/test/org/apache/sis/referencing/gazetteer/LocationViewer.java
index e1cee361cd..fabd3eb1de 100644
--- 
a/endorsed/src/org.apache.sis.referencing.gazetteer/test/org/apache/sis/referencing/gazetteer/LocationViewer.java
+++ 
b/endorsed/src/org.apache.sis.referencing.gazetteer/test/org/apache/sis/referencing/gazetteer/LocationViewer.java
@@ -82,7 +82,7 @@ public final class LocationViewer extends JPanel {
                 break;
             }
             /*
-             * Crossing the anti-meridian. There is two columns of cells: on 
the west side and on the east side.
+             * Crossing the anti-meridian. There are two columns of cells: on 
the west side and on the east side.
              */
             case 3: {
                 final GeneralEnvelope ge = new 
GeneralEnvelope(CommonCRS.defaultGeographic());
diff --git 
a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/parameter/DefaultParameterDescriptor.java
 
b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/parameter/DefaultParameterDescriptor.java
index ff342044bf..578550e7ed 100644
--- 
a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/parameter/DefaultParameterDescriptor.java
+++ 
b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/parameter/DefaultParameterDescriptor.java
@@ -583,7 +583,7 @@ public class DefaultParameterDescriptor<T> extends 
AbstractParameterDescriptor i
 
     /**
      * Invoked by {@link DefaultParameterValue} when the descriptor is set 
after the value at unmarshalling time.
-     * There is two scenarios in a valid GML document. The first scenario is 
when the descriptor is defined inside
+     * There are two scenarios in a valid GML document. The first scenario is 
when the descriptor is defined inside
      * the parameter value element, like below. In such case, {@link 
#valueClass} is defined at construction time
      * by {@link #DefaultParameterDescriptor()} because the value is before 
the descriptor.
      *
diff --git 
a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/parameter/package-info.java
 
b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/parameter/package-info.java
index 1299b3c4eb..ba4cb50762 100644
--- 
a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/parameter/package-info.java
+++ 
b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/parameter/package-info.java
@@ -20,7 +20,7 @@
  * An explanation for this package is provided in the {@linkplain 
org.opengis.parameter OpenGIS® javadoc}.
  * The remaining discussion on this page is specific to the SIS implementation.
  *
- * <p>There is three categories of classes in this package:</p>
+ * <p>There are three categories of classes in this package:</p>
  * <ul>
  *   <li><b>Parameter descriptors</b> are immutable types that describes the 
parameters needed by an operation or a
  *     process. Descriptors contain information like parameter name, 
optionality, repeatability and value type, but
diff --git 
a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/factory/sql/CoordinateOperationSet.java
 
b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/factory/sql/CoordinateOperationSet.java
index 2621d652e9..fb664c9397 100644
--- 
a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/factory/sql/CoordinateOperationSet.java
+++ 
b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/factory/sql/CoordinateOperationSet.java
@@ -34,7 +34,7 @@ import org.apache.sis.referencing.factory.IdentifiedObjectSet;
 /**
  * A lazy set of {@link CoordinateOperation} objects to be returned by the
  * {@link EPSGDataAccess#createFromCoordinateReferenceSystemCodes(String, 
String)} method.
- * There is two different ways in which {@link EPSGDataAccess} get coordinate 
operations:
+ * There are two different ways in which {@link EPSGDataAccess} get coordinate 
operations:
  *
  * <ol>
  *   <li>The coordinate operation may be the <cite>conversion from base</cite> 
property of a projected CRS.
diff --git 
a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/CoordinateOperationFinder.java
 
b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/CoordinateOperationFinder.java
index 88b6038303..80a65f9151 100644
--- 
a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/CoordinateOperationFinder.java
+++ 
b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/CoordinateOperationFinder.java
@@ -565,7 +565,7 @@ public class CoordinateOperationFinder extends 
CoordinateOperationRegistry {
          * Conceptually, all transformations below could done by first 
converting from the source coordinate
          * system to geocentric Cartesian coordinates (X,Y,Z), apply an affine 
transform represented by the
          * datum shift matrix, then convert from the (X′,Y′,Z′) coordinates to 
the target coordinate system.
-         * However, there is two exceptions to this path:
+         * However, there are two exceptions to this path:
          *
          *   1) In the particular where both the source and target CS are 
ellipsoidal, we may use the
          *      Molodensky approximation as a shortcut (if the desired 
accuracy allows).
diff --git 
a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/DefaultMathTransformFactory.java
 
b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/DefaultMathTransformFactory.java
index c904dfe9e8..3afd8d1f4b 100644
--- 
a/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/DefaultMathTransformFactory.java
+++ 
b/endorsed/src/org.apache.sis.referencing/main/org/apache/sis/referencing/operation/transform/DefaultMathTransformFactory.java
@@ -1369,7 +1369,7 @@ public class DefaultMathTransformFactory extends 
AbstractFactory implements Math
          * Conversely if the source CS is missing a height, add a height with 
NaN values.
          * After this block, the dimensions of `step1` and `step2` should 
match.
          *
-         * When adding an ellipsoidal height, there is two scenarios: the 
ellipsoidal height may be used by the
+         * When adding an ellipsoidal height, there are two scenarios: the 
ellipsoidal height may be used by the
          * parameterized operation, or it may be passed through (in which case 
the operation ignores the height).
          * If the height is expected as operation input, set the height to 0. 
Otherwise (the pass through case),
          * set the height to NaN. We do that way because the given 
`parameterized` transform may be a Molodensky
diff --git 
a/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/operation/transform/ProjectiveTransformTest.java
 
b/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/operation/transform/ProjectiveTransformTest.java
index 4d0bc94fc0..6562f22fb3 100644
--- 
a/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/operation/transform/ProjectiveTransformTest.java
+++ 
b/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/operation/transform/ProjectiveTransformTest.java
@@ -169,7 +169,7 @@ public class ProjectiveTransformTest extends 
AffineTransformTest {
      * Tests the concatenation of transforms that would result in rounding 
errors
      * in extended-precision matrix operations were not used.
      *
-     * Actually there is two sources of rounding errors tested by this method.
+     * Actually there are two sources of rounding errors tested by this method.
      * The first source is rounding errors caused by matrix multiplications.
      * The other source is rounding errors inside the {@code transform(…)} 
methods,
      * which is reduced by a denominator column in {@link 
ProjectiveTransform#elt}.
diff --git 
a/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/report/CoordinateOperationMethods.java
 
b/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/report/CoordinateOperationMethods.java
index 9b733bb695..a277e048be 100644
--- 
a/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/report/CoordinateOperationMethods.java
+++ 
b/endorsed/src/org.apache.sis.referencing/test/org/apache/sis/referencing/report/CoordinateOperationMethods.java
@@ -157,7 +157,7 @@ public class CoordinateOperationMethods extends 
HTMLGenerator {
         println("h1", "Apache SIS™ Coordinate Operation Methods");
         int item = openTag("p");
         println("The following tables summarize the coordinate operation 
methods known to Apache SIS " + Version.SIS);
-        println("together with the recognized parameters. There is three kinds 
of parameters:");
+        println("together with the recognized parameters. There are three 
kinds of parameters:");
         closeTags(item);
         openTag("ul", "verbose");
         openTag("li");
diff --git 
a/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/Writer.java
 
b/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/Writer.java
index 06ecde52ab..8900bf8383 100644
--- 
a/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/Writer.java
+++ 
b/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/Writer.java
@@ -107,7 +107,7 @@ final class Writer extends IOBase implements Flushable {
     /**
      * Common number of tags which will be written. This amount is for tiled 
grayscale images with no metadata
      * and no statistics. For stripped images, there is one less tag. For RGB 
images, there is one more tag.
-     * For color maps, there is two more tags. This number is only a hint for 
avoiding the need to update
+     * For color maps, there are two more tags. This number is only a hint for 
avoiding the need to update
      * this information if the number appears to be right.
      */
     static final int COMMON_NUMBER_OF_TAGS = 16;
diff --git 
a/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/inflater/HorizontalPredictor.java
 
b/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/inflater/HorizontalPredictor.java
index ba2d507c0c..40e6b87276 100644
--- 
a/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/inflater/HorizontalPredictor.java
+++ 
b/endorsed/src/org.apache.sis.storage.geotiff/main/org/apache/sis/storage/geotiff/inflater/HorizontalPredictor.java
@@ -180,7 +180,7 @@ abstract class HorizontalPredictor extends PredictorChannel 
{
             }
         }
         /*
-         * Save the last bytes for next invocation of this method. There is 
two cases:
+         * Save the last bytes for next invocation of this method. There are 
two cases:
          *
          *   - In the usual case where the above call to `applyOnFirst(…)` 
used all `savedValues` elements
          *     (this is true when at least `pixelStride` bytes have been 
used), the `keep` value below will
diff --git 
a/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/NetcdfStore.java
 
b/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/NetcdfStore.java
index 1f7fc96db4..186878ce8c 100644
--- 
a/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/NetcdfStore.java
+++ 
b/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/NetcdfStore.java
@@ -66,7 +66,7 @@ import org.apache.sis.util.collection.TreeTable;
  */
 public class NetcdfStore extends DataStore implements Aggregate {
     /**
-     * The object to use for decoding the netCDF file content. There is two 
different implementations,
+     * The object to use for decoding the netCDF file content. There are two 
different implementations,
      * depending on whether we are using the embedded SIS decoder or a wrapper 
around the UCAR library.
      * This is set to {@code null} when the data store is closed.
      *
diff --git 
a/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/base/GridCacheKey.java
 
b/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/base/GridCacheKey.java
index ddfe15e806..dabb52623f 100644
--- 
a/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/base/GridCacheKey.java
+++ 
b/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/base/GridCacheKey.java
@@ -29,7 +29,7 @@ import org.apache.sis.math.Vector;
 
 /**
  * Cache management of localization grids. {@code GridCache} are used as keys 
in {@code HashMap}.
- * There is two level of caches:
+ * There are two level of caches:
  *
  * <ul>
  *   <li>Local to the {@link Decoder}. This avoid the need to compute MD5 sum 
of coordinate vectors.</li>
diff --git 
a/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/base/RasterResource.java
 
b/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/base/RasterResource.java
index b0cbfe0ebd..93a760f011 100644
--- 
a/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/base/RasterResource.java
+++ 
b/endorsed/src/org.apache.sis.storage.netcdf/main/org/apache/sis/storage/netcdf/base/RasterResource.java
@@ -136,7 +136,7 @@ public final class RasterResource extends 
AbstractGridCoverageResource implement
     /**
      * If one of {@link #data} dimension provides values for different bands, 
that dimension index. Otherwise -1.
      * This is an index in a list of dimensions in "natural" order (reverse of 
netCDF order).
-     * There is three ways to read the data, determined by this {@code 
bandDimension} value:
+     * There are three ways to read the data, determined by this {@code 
bandDimension} value:
      *
      * <ul>
      *   <li>{@code (bandDimension < 0)}: one variable per band (usual 
case).</li>
@@ -635,7 +635,7 @@ public final class RasterResource extends 
AbstractGridCoverageResource implement
         }
         /*
          * At this point the arguments and the state of this resource have 
been validated.
-         * There is three ways to read the data, determined by `bandDimension` 
value:
+         * There are three ways to read the data, determined by 
`bandDimension` value:
          *
          *   • (bandDimension < 0): one variable per band (usual case).
          *   • (bandDimension = 0): one variable containing all bands, with 
bands in the first dimension.
diff --git 
a/endorsed/src/org.apache.sis.storage.xml/main/org/apache/sis/storage/xml/stream/StaxDataStore.java
 
b/endorsed/src/org.apache.sis.storage.xml/main/org/apache/sis/storage/xml/stream/StaxDataStore.java
index 959f4d65ae..d3d8fa93e1 100644
--- 
a/endorsed/src/org.apache.sis.storage.xml/main/org/apache/sis/storage/xml/stream/StaxDataStore.java
+++ 
b/endorsed/src/org.apache.sis.storage.xml/main/org/apache/sis/storage/xml/stream/StaxDataStore.java
@@ -469,7 +469,7 @@ public abstract class StaxDataStore extends URIDataStore {
          * At this point we verified there is no write operation in progress 
and that the input stream (if not null)
          * is available for our use. Now we need to build a XMLStreamReader 
from that input. This is InputType work,
          * but that type may be null if the storage given by the user was not 
an InputStream, Reader or other types
-         * recognized by InputType. In such case there is two possibilities:
+         * recognized by InputType. In such case there are two possibilities:
          *
          *   - It may be an OutputStream, Writer or other types recognized by 
OutputType.
          *   - It may be a Path, File, URL or URI, which are intentionally not 
handled by Input/OutputType.
diff --git 
a/endorsed/src/org.apache.sis.storage.xml/main/org/apache/sis/storage/xml/stream/StaxStreamWriter.java
 
b/endorsed/src/org.apache.sis.storage.xml/main/org/apache/sis/storage/xml/stream/StaxStreamWriter.java
index 5bcb5ebb93..d566a73c34 100644
--- 
a/endorsed/src/org.apache.sis.storage.xml/main/org/apache/sis/storage/xml/stream/StaxStreamWriter.java
+++ 
b/endorsed/src/org.apache.sis.storage.xml/main/org/apache/sis/storage/xml/stream/StaxStreamWriter.java
@@ -262,7 +262,7 @@ public abstract class StaxStreamWriter extends StaxStreamIO 
implements Consumer<
      *
      * <h4>Hiding namespace</h4>
      * The {@code hideNS} argument, if non-null, gives a namespace to remove 
in the marshalling result.
-     * There is two reasons why we may want to hide a namespace. The most 
straightforward reason is to
+     * There are two reasons why we may want to hide a namespace. The most 
straightforward reason is to
      * simplify the XML document when the {@linkplain 
jakarta.xml.bind.annotation.XmlElement#namespace()
      * namespace of elements} to marshal is the {@linkplain 
XMLStreamWriter#setDefaultNamespace(String)
      * default namespace}. Since some JAXB implementation systematically 
inserts a prefix no matter if
diff --git 
a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/aggregate/MergeStrategy.java
 
b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/aggregate/MergeStrategy.java
index cd86bd5a2b..1697727e72 100644
--- 
a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/aggregate/MergeStrategy.java
+++ 
b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/aggregate/MergeStrategy.java
@@ -89,7 +89,7 @@ public final class MergeStrategy {
      * <div class="note"><b>Rational:</b>
      * the "smallest time outside" criterion (rule 2) is before "best 
centered" criterion (rule 3)
      * because of the following scenario: if a user specifies a "time of 
interest" (TOI) of 1 day
-     * and if there is two slices intersecting the TOI, with one slice being a 
raster of monthly
+     * and if there are two slices intersecting the TOI, with one slice being 
a raster of monthly
      * averages the other slice being a raster of daily data, we want the 
daily data to be selected
      * even if by coincidence the monthly averages is better centered.</div>
      *
diff --git 
a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/TiledGridCoverage.java
 
b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/TiledGridCoverage.java
index af7aafd376..7ee66bf45c 100644
--- 
a/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/TiledGridCoverage.java
+++ 
b/endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/base/TiledGridCoverage.java
@@ -644,7 +644,7 @@ public abstract class TiledGridCoverage extends 
GridCoverage {
          * Returns the origin to assign to the tile at current iterator 
position.
          * Note that the subsampling should be a divisor of tile size,
          * otherwise a drift in pixel coordinates will appear.
-         * There is two exceptions to this rule:
+         * There are two exceptions to this rule:
          *
          * <ul>
          *   <li>If image is untiled (i.e. there is only one tile),
diff --git 
a/endorsed/src/org.apache.sis.util/main/org/apache/sis/math/ArrayVector.java 
b/endorsed/src/org.apache.sis.util/main/org/apache/sis/math/ArrayVector.java
index 928ac06871..ad7e4cf8d9 100644
--- a/endorsed/src/org.apache.sis.util/main/org/apache/sis/math/ArrayVector.java
+++ b/endorsed/src/org.apache.sis.util/main/org/apache/sis/math/ArrayVector.java
@@ -141,7 +141,7 @@ abstract class ArrayVector<E extends Number> extends Vector 
implements CheckedCo
         if (!Float.class.equals(source.getElementType())) {
             /*
              * For floating point types, verify if values are equivalent to 
`float` values.
-             * There is two different ways to pad extra fraction digits in 
`double` values:
+             * There are two different ways to pad extra fraction digits in 
`double` values:
              * with zero fraction digits in base 2 representation (the 
standard Java cast),
              * or with zero fraction digits in base 10 representation.
              */
diff --git 
a/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/coverage/GridViewSkin.java
 
b/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/coverage/GridViewSkin.java
index c64d6d222e..9d52affea8 100644
--- 
a/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/coverage/GridViewSkin.java
+++ 
b/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/coverage/GridViewSkin.java
@@ -411,7 +411,7 @@ final class GridViewSkin extends 
VirtualContainerBase<GridView, GridRow> impleme
     /**
      * The virtual flow used by {@link GridViewSkin}. We define that class
      * mostly for getting access to the protected {@link #getHbar()} method.
-     * There is two main properties that we want:
+     * There are two main properties that we want:
      *
      * <ul>
      *   <li>{@link #getHorizontalPosition()} for the position of the 
horizontal scroll bar.</li>
diff --git 
a/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/dataset/ResourceItem.java
 
b/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/dataset/ResourceItem.java
index 5331d5d134..efd460f5a2 100644
--- 
a/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/dataset/ResourceItem.java
+++ 
b/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/dataset/ResourceItem.java
@@ -61,7 +61,7 @@ final class ResourceItem extends TreeItem<Resource> {
     String label;
 
     /**
-     * Whether this node is in process of loading data. There is two kinds of 
loading:
+     * Whether this node is in process of loading data. There are two kinds of 
loading:
      * <ul>
      *   <li>The {@link Resource} itself, in which case {@link #getValue()} is 
null.</li>
      *   <li>The resource {@link #title}, in which case {@link #getValue()} 
has a valid value.</li>
diff --git 
a/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/map/MapCanvasAWT.java 
b/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/map/MapCanvasAWT.java
index 588e2b994d..d27ab815ae 100644
--- 
a/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/map/MapCanvasAWT.java
+++ 
b/optional/src/org.apache.sis.gui/main/org/apache/sis/gui/map/MapCanvasAWT.java
@@ -330,7 +330,7 @@ public abstract class MapCanvasAWT extends MapCanvas {
      * It may be because the map has new content, or because the viewed region 
moved or
      * has been zoomed.
      *
-     * <p>There is two possible situations:</p>
+     * <p>There are two possible situations:</p>
      * <ul class="verbose">
      *   <li>If the current buffers are not suitable, then we clear everything 
related to Java2D buffered images.
      *     Those resources will be recreated from scratch in background 
thread. There is no need for double-buffering

Reply via email to