sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] 02/03: Typo fix: tupple -> tuple.
Date Thu, 03 Jan 2019 19:05:08 GMT
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 52a27830dc8eaf019727302e915261becfdb3988
Author: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
AuthorDate: Thu Jan 3 19:51:22 2019 +0100

    Typo fix: tupple -> tuple.
---
 core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Warnings.java | 6 +++---
 .../src/test/java/org/apache/sis/metadata/iso/MarshallingTest.java  | 2 +-
 .../org/apache/sis/internal/referencing/GeodeticObjectBuilder.java  | 4 ++--
 .../src/main/java/org/apache/sis/parameter/ParameterFormat.java     | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Warnings.java b/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Warnings.java
index 450a36a..4e99508 100644
--- a/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Warnings.java
+++ b/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/Warnings.java
@@ -84,7 +84,7 @@ public final class Warnings implements Localized, Serializable {
 
     /**
      * The locale in which warning messages are reported.
-     * Not necessarily the same than the locale for number and date parsing or formating.
+     * Not necessarily the same than the locale for number and date parsing or formatting.
      *
      * @see #getLocale()
      */
@@ -107,14 +107,14 @@ public final class Warnings implements Localized, Serializable {
      * Warning messages or exceptions emitted during parsing or formatting.
      * Initially {@code null} and created when first needed.
      *
-     * <p>Objects in this list must be a sequence of the following tupple:</p>
+     * <p>Objects in this list must be a sequence of the following tuple:</p>
      *
      * <ul>
      *   <li>An optional message as an {@link InternationalString}.</li>
      *   <li>An optional warning cause as an {@link Exception}.</li>
      * </ul>
      *
-     * Any element of the above tupple can be null, but at least one element must be non-null.
+     * Any element of the above tuple can be null, but at least one element must be non-null.
      *
      * @see #add(InternationalString, Exception, String[])
      */
diff --git a/core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/MarshallingTest.java
b/core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/MarshallingTest.java
index 6eaaa72..7492eb4 100644
--- a/core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/MarshallingTest.java
+++ b/core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/MarshallingTest.java
@@ -144,7 +144,7 @@ public final class MarshallingTest extends TestUsingFile implements WarningListe
             id.setCodeSpace("md.id.ns");
             md.setMetadataIdentifier(id);
         }
-        // Languages — one language only, and one (country, language) tupple.
+        // Languages — one language only, and one (country, language) tuple.
         final Collection<Locale> languages = Arrays.asList(Locale.ENGLISH, Locale.CANADA_FRENCH);
         md.setLanguages(languages);
 
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/GeodeticObjectBuilder.java
b/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/GeodeticObjectBuilder.java
index ae4d358..458ff0a 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/GeodeticObjectBuilder.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/internal/referencing/GeodeticObjectBuilder.java
@@ -358,8 +358,8 @@ public class GeodeticObjectBuilder extends Builder<GeodeticObjectBuilder>
{
     }
 
     /**
-     * Creates a compound CRS, but we special processing for (two-dimensional Geographic
+ ellipsoidal heights) tupples.
-     * If any such tupple is found, a three-dimensional geographic CRS is created instead
than the compound CRS.
+     * Creates a compound CRS, but we special processing for (two-dimensional Geographic
+ ellipsoidal heights) tuples.
+     * If any such tuple is found, a three-dimensional geographic CRS is created instead
than the compound CRS.
      *
      * @param  components  ordered array of {@code CoordinateReferenceSystem} objects.
      * @return the coordinate reference system for the given properties.
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/parameter/ParameterFormat.java
b/core/sis-referencing/src/main/java/org/apache/sis/parameter/ParameterFormat.java
index 9c6698f..399f23a 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/parameter/ParameterFormat.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/parameter/ParameterFormat.java
@@ -712,7 +712,7 @@ public class ParameterFormat extends TabularFormat<Object> {
                         /*
                          * Format the value followed by the unit of measure, or followed
by spaces if there is no unit
                          * for this value. The intent is the right align the numerical value
rather than the numerical
-                         * + unit tupple.
+                         * + unit tuple.
                          */
                         final Format format = getFormat(value.getClass());
                         if (format != null) {


Mime
View raw message