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 f6d4dd2ba2aefff337360a3e6d91c3a2cd051d3f
Author: Martin Desruisseaux <martin.desruisse...@geomatys.com>
AuthorDate: Sat Oct 8 12:22:58 2022 +0200

    Spelling fixes in comments.
---
 .../src/main/java/org/apache/sis/gui/map/ValuesUnderCursor.java     | 4 ++--
 .../sis/metadata/iso/extent/DefaultGeographicBoundingBox.java       | 2 +-
 .../src/main/resources/org/apache/sis/metadata/sql/Citations.sql    | 6 +++---
 .../src/main/java/org/apache/sis/internal/util/AbstractMap.java     | 2 +-
 .../main/java/org/apache/sis/internal/netcdf/RasterResource.java    | 2 +-
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git 
a/application/sis-javafx/src/main/java/org/apache/sis/gui/map/ValuesUnderCursor.java
 
b/application/sis-javafx/src/main/java/org/apache/sis/gui/map/ValuesUnderCursor.java
index f256595343..84c178f0fd 100644
--- 
a/application/sis-javafx/src/main/java/org/apache/sis/gui/map/ValuesUnderCursor.java
+++ 
b/application/sis-javafx/src/main/java/org/apache/sis/gui/map/ValuesUnderCursor.java
@@ -83,8 +83,8 @@ public abstract class ValuesUnderCursor {
 
         /**
          * Sets the result to the given value, then submits a task in JavaFX 
thread if no task is already waiting.
-         * If a task is already waiting to be executed, then that task will 
use the specified value instead than
-         * the value which was specified when the previous task was submitted.
+         * If a task is already waiting to be executed, then that task will 
use the specified value instead of the
+         * value which was specified when the previous task was submitted.
          */
         final void setLater(final String result) {
             if (getAndSet(result) == null) {
diff --git 
a/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/extent/DefaultGeographicBoundingBox.java
 
b/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/extent/DefaultGeographicBoundingBox.java
index 7bfdfa74c8..ed0420408b 100644
--- 
a/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/extent/DefaultGeographicBoundingBox.java
+++ 
b/core/sis-metadata/src/main/java/org/apache/sis/metadata/iso/extent/DefaultGeographicBoundingBox.java
@@ -550,7 +550,7 @@ public class DefaultGeographicBoundingBox extends 
AbstractGeographicExtent imple
 
     /*
      * IMPLEMENTATION NOTE: For the handling of anti-meridian crossing in 
union and intersection operations,
-     * this class applies a different strategy than GeneralEnvelope. Instead 
than trying to work directly with
+     * this class applies a different strategy than GeneralEnvelope. Instead 
of trying to work directly with
      * the coordinate values without adding or removing offset (which may 
cause rounding errors), we apply a ±360°
      * shift on longitude values. This simpler strategy is okay here because 
the range is fixed in the code (not
      * an arbitrarily high range), and GeographicBoundingBox are 
approximations by definition anyway.
diff --git 
a/core/sis-metadata/src/main/resources/org/apache/sis/metadata/sql/Citations.sql
 
b/core/sis-metadata/src/main/resources/org/apache/sis/metadata/sql/Citations.sql
index 37e4ab38d8..ae1119eefe 100644
--- 
a/core/sis-metadata/src/main/resources/org/apache/sis/metadata/sql/Citations.sql
+++ 
b/core/sis-metadata/src/main/resources/org/apache/sis/metadata/sql/Citations.sql
@@ -216,9 +216,9 @@ INSERT INTO metadata."Citation" ("ID", "onlineResource", 
"edition", "citedRespon
 -- But we have to declare some organizations as "citations" because this is 
the kind of object required
 -- by the "authority" attribute of factories.
 --
--- Instead than repeating the organization name, the title should reference 
some naming authority
--- in that organization. The identifier should have no codespace, and the 
identifier code should be
--- the codespace of objects created by the authority represented by that 
organisation.
+-- Instead of repeating the organization name, the title should reference some 
naming authority
+-- in that organization. The identifier should have no codespace, and the 
identifier code should
+-- be the codespace of objects created by the authority represented by that 
organisation.
 --
 INSERT INTO metadata."Identifier" ("ID", "code") VALUES
   ('OGC',  'OGC'),
diff --git 
a/core/sis-utility/src/main/java/org/apache/sis/internal/util/AbstractMap.java 
b/core/sis-utility/src/main/java/org/apache/sis/internal/util/AbstractMap.java
index d1bbed5681..165156514d 100644
--- 
a/core/sis-utility/src/main/java/org/apache/sis/internal/util/AbstractMap.java
+++ 
b/core/sis-utility/src/main/java/org/apache/sis/internal/util/AbstractMap.java
@@ -29,7 +29,7 @@ import org.apache.sis.util.resources.Errors;
 
 /**
  * An alternative to {@link java.util.AbstractMap java.util.AbstractMap} using 
different implementation strategies.
- * Instead than providing default method implementations on top of {@link 
#entrySet()}, this base class uses more
+ * Instead of providing default method implementations on top of {@link 
#entrySet()}, this base class uses more
  * often the {@link #get(Object)} method with the assumption that the map can 
not contain null values, or use a
  * special-purpose {@link #entryIterator()} which can reduce the amount of 
object creations.
  *
diff --git 
a/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/RasterResource.java
 
b/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/RasterResource.java
index 65aaee48a3..d79494f084 100644
--- 
a/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/RasterResource.java
+++ 
b/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/RasterResource.java
@@ -773,7 +773,7 @@ public final class RasterResource extends 
AbstractGridCoverageResource implement
     }
 
     /**
-     * Returns a string representation of this resource for debuging purposes.
+     * Returns a string representation of this resource for debugging purposes.
      */
     @Override
     public String toString() {

Reply via email to