You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by de...@apache.org on 2018/08/14 17:48:10 UTC
[sis] branch geoapi-4.0 updated: Spelling fixes (no significant
code change in this commit).
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 b572c7f Spelling fixes (no significant code change in this commit).
b572c7f is described below
commit b572c7f672f657ce4ffb7144ba24617a15d16a4a
Author: Martin Desruisseaux <ma...@geomatys.com>
AuthorDate: Tue Aug 14 19:47:45 2018 +0200
Spelling fixes (no significant code change in this commit).
---
.../apache/sis/internal/book/CodeColorizer.java | 32 +++++++++++-----------
.../org/apache/sis/feature/DefaultFeatureType.java | 2 +-
.../apache/sis/internal/jaxb/gco/PropertyType.java | 2 +-
.../internal/jaxb/cat/CodeListMarshallingTest.java | 18 ++++++------
.../sis/internal/jaxb/cat/EnumMarshallingTest.java | 6 ++--
.../sis/internal/jaxb/lan/LanguageCodeTest.java | 2 +-
.../sis/internal/jaxb/lan/PT_LocaleTest.java | 2 +-
.../apache/sis/metadata/iso/MarshallingTest.java | 2 +-
.../extent/DefaultGeographicBoundingBoxTest.java | 2 +-
.../gazetteer/MilitaryGridReferenceSystem.java | 6 ++--
.../gazetteer/MilitaryGridReferenceSystemTest.java | 2 +-
.../apache/sis/referencing/IdentifiedObjects.java | 4 +--
.../sis/referencing/datum/BursaWolfParameters.java | 4 +--
.../sis/referencing/datum/DefaultEllipsoid.java | 2 +-
.../factory/ConcurrentAuthorityFactory.java | 2 +-
.../factory/IdentifiedObjectFinder.java | 8 +++---
.../referencing/factory/sql/EPSGDataAccess.java | 2 +-
.../operation/CoordinateOperationRegistry.java | 2 +-
.../operation/builder/LinearTransformBuilder.java | 2 +-
.../operation/builder/TransformBuilder.java | 2 +-
.../operation/matrix/GeneralMatrix.java | 2 +-
.../operation/projection/ConformalProjection.java | 2 +-
.../referencing/operation/projection/Mercator.java | 2 +-
.../operation/projection/NormalizedProjection.java | 2 +-
.../transform/AbstractLinearTransform.java | 2 +-
.../operation/transform/AbstractMathTransform.java | 2 +-
.../operation/transform/ConcatenatedTransform.java | 2 +-
.../transform/EllipsoidToCentricTransform.java | 2 +-
.../datum/DefaultVerticalDatumTest.java | 2 +-
.../operation/CoordinateOperationFinderTest.java | 2 +-
.../builder/LocalizationGridBuilderTest.java | 2 +-
.../operation/matrix/MatrixTestCase.java | 6 ++--
.../projection/MercatorMethodComparison.java | 2 +-
.../projection/ProjectionResultComparator.java | 4 +--
.../operation/transform/CoordinateDomainTest.java | 4 +--
.../operation/transform/CopyTransformTest.java | 2 +-
.../transform/InterpolatedTransformTest.java | 2 +-
.../transform/MolodenskyTransformTest.java | 4 +--
.../sis/test/integration/ConsistencyTest.java | 2 +-
.../sis/referencing/operation/Conversion.xml | 4 +--
.../org/apache/sis/internal/system/Loggers.java | 2 +-
.../org/apache/sis/internal/util/Numerics.java | 6 ++--
.../java/org/apache/sis/math/DecimalFunctions.java | 6 ++--
.../main/java/org/apache/sis/math/Statistics.java | 2 +-
.../src/main/java/org/apache/sis/math/Vector.java | 2 +-
.../main/java/org/apache/sis/measure/Units.java | 14 +++++-----
.../java/org/apache/sis/util/ComparisonMode.java | 4 +--
.../main/java/org/apache/sis/util/Utilities.java | 6 ++--
.../apache/sis/util/collection/CodeListSet.java | 2 +-
.../apache/sis/internal/util/DoubleDoubleTest.java | 4 +--
.../src/test/java/org/apache/sis/test/Assert.java | 6 ++--
.../org/apache/sis/storage/geotiff/CRSBuilder.java | 2 +-
.../apache/sis/storage/netcdf/MetadataReader.java | 2 +-
.../shapefile/jdbc/connection/DBFConnection.java | 2 +-
.../jdbc/resultset/AbstractResultSet.java | 2 +-
.../shapefile/jdbc/statement/DBFStatement.java | 4 +--
.../sis/internal/storage/MetadataBuilder.java | 2 +-
57 files changed, 112 insertions(+), 112 deletions(-)
diff --git a/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/CodeColorizer.java b/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/CodeColorizer.java
index 7b55235..f6749cf 100644
--- a/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/CodeColorizer.java
+++ b/core/sis-build-helper/src/main/java/org/apache/sis/internal/book/CodeColorizer.java
@@ -167,7 +167,7 @@ public final class CodeColorizer {
return null;
}
/*
- * If the given identifier is wrapped by some syntatic characters (e.g. "@Foo" for Java annotation,
+ * If the given identifier is wrapped by some syntactic characters (e.g. "@Foo" for Java annotation,
* or <Foo> for XML elements), remove the wrapper characters so we can get the identifier itelf.
*/
switch (word.charAt(0)) {
@@ -263,17 +263,17 @@ public final class CodeColorizer {
public void highlight(final Node parent, final String type) throws BookException {
final boolean isXML = "xml".equals(type);
final boolean isJava = !isXML; // Future version may add more choices.
- Element syntaticElement = null; // E.g. comment block or a String.
- String stopCondition = null; // Identify 'syntaticElement' end.
+ Element syntacticElement = null; // E.g. comment block or a String.
+ String stopCondition = null; // Identify 'syntacticElement' end.
for (final Node node : toArray(parent.getChildNodes())) {
/*
* The following condition happen only if a quoted string or a comment started in a previous
* node and is continuing in the current node. In such case we need to transfer everything we
- * found into the 'syntaticElement' node, until we found the 'stopCondition'.
+ * found into the 'syntacticElement' node, until we found the 'stopCondition'.
*/
if (stopCondition != null) {
if (node.getNodeType() != Node.TEXT_NODE) {
- syntaticElement.appendChild(node); // Also remove from its previous position.
+ syntacticElement.appendChild(node); // Also remove from its previous position.
continue;
}
final String text = node.getTextContent();
@@ -284,7 +284,7 @@ public final class CodeColorizer {
} else {
lower = text.length();
}
- syntaticElement.appendChild(document.createTextNode(text.substring(0, lower)));
+ syntacticElement.appendChild(document.createTextNode(text.substring(0, lower)));
node.setTextContent(text.substring(lower));
// Continue below in case there is some remaining characters to analyse.
}
@@ -305,19 +305,19 @@ public final class CodeColorizer {
if (!Character.isJavaIdentifierStart(c)) {
if (c == '"') {
stopCondition = "\"";
- syntaticElement = document.createElement("i");
+ syntacticElement = document.createElement("i");
} else if (isJava && text.regionMatches(lower, "/*", 0, 2)) {
stopCondition = "*/";
- syntaticElement = document.createElement("code");
- syntaticElement.setAttribute("class", "comment");
+ syntacticElement = document.createElement("code");
+ syntacticElement.setAttribute("class", "comment");
} else if (isJava && text.regionMatches(lower, "//", 0, 2)) {
stopCondition = "\n";
- syntaticElement = document.createElement("code");
- syntaticElement.setAttribute("class", "comment");
+ syntacticElement = document.createElement("code");
+ syntacticElement.setAttribute("class", "comment");
} else if (isXML && text.regionMatches(lower, "<!--", 0, 4)) {
stopCondition = "-->";
- syntaticElement = document.createElement("code");
- syntaticElement.setAttribute("class", "comment");
+ syntacticElement = document.createElement("code");
+ syntacticElement.setAttribute("class", "comment");
} else {
lower += Character.charCount(c);
continue; // "Ordinary" character: scan next characters.
@@ -325,7 +325,7 @@ public final class CodeColorizer {
/*
* Found the begining of a comment block or a string. Search where that block ends
* (it may be in another node) and store all text between the current position and
- * the end into 'syntaticElement'.
+ * the end into 'syntacticElement'.
*/
if (nextSubstringStart != lower) {
parent.insertBefore(document.createTextNode(text.substring(nextSubstringStart, lower)), node);
@@ -341,8 +341,8 @@ public final class CodeColorizer {
lower = text.length();
// Keep stopCondition; we will need to search for it in next nodes.
}
- syntaticElement.setTextContent(text.substring(nextSubstringStart, lower));
- parent.insertBefore(syntaticElement, node);
+ syntacticElement.setTextContent(text.substring(nextSubstringStart, lower));
+ parent.insertBefore(syntacticElement, node);
nextSubstringStart = lower;
} else {
/*
diff --git a/core/sis-feature/src/main/java/org/apache/sis/feature/DefaultFeatureType.java b/core/sis-feature/src/main/java/org/apache/sis/feature/DefaultFeatureType.java
index 17cb879..10214ca 100644
--- a/core/sis-feature/src/main/java/org/apache/sis/feature/DefaultFeatureType.java
+++ b/core/sis-feature/src/main/java/org/apache/sis/feature/DefaultFeatureType.java
@@ -429,7 +429,7 @@ public class DefaultFeatureType extends AbstractIdentifiedType implements Featur
/*
* Rational for choosing whether the feature is sparse: By default, java.util.HashMap implementation creates
* an internal array of length 16 (see HashMap.DEFAULT_INITIAL_CAPACITY). In addition, the HashMap instance
- * itself consumes approximatively 8 "words" in memory. Consequently there is no advantage in using HashMap
+ * itself consumes approximately 8 "words" in memory. Consequently there is no advantage in using HashMap
* unless the number of properties is greater than 16 + 8 (note: we could specify a smaller initial capacity,
* but the memory consumed by each internal Map.Entry quickly exceed the few saved words). Next, the default
* HashMap threshold is 0.75, so there is again no advantage in using HashMap if we do not expect at least 25%
diff --git a/core/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/gco/PropertyType.java b/core/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/gco/PropertyType.java
index dda9e2a..ad566ab 100644
--- a/core/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/gco/PropertyType.java
+++ b/core/sis-metadata/src/main/java/org/apache/sis/internal/jaxb/gco/PropertyType.java
@@ -98,7 +98,7 @@ import org.apache.sis.util.resources.Errors;
* specific type.</li>
* <li>The parameterized return type forces the compiler to generate bridge methods under
* the hood. In the particular case of typical {@code PropertyType} subclasses,
- * this increases the size of {@code .class} files by approximatively 4.5%.
+ * this increases the size of {@code .class} files by approximately 4.5%.
* While quite small, this is a useless overhead since we never need to invoke the
* abstract {@code getElement()} from this class.</li>
* </ul></div>
diff --git a/core/sis-metadata/src/test/java/org/apache/sis/internal/jaxb/cat/CodeListMarshallingTest.java b/core/sis-metadata/src/test/java/org/apache/sis/internal/jaxb/cat/CodeListMarshallingTest.java
index db06c16..7aaf79c 100644
--- a/core/sis-metadata/src/test/java/org/apache/sis/internal/jaxb/cat/CodeListMarshallingTest.java
+++ b/core/sis-metadata/src/test/java/org/apache/sis/internal/jaxb/cat/CodeListMarshallingTest.java
@@ -40,7 +40,7 @@ import static org.apache.sis.test.MetadataAssert.*;
/**
- * Tests the XML marshaling of {@code CodeList}.
+ * Tests the XML marshalling of {@code CodeList}.
*
* @author Martin Desruisseaux (Geomatys)
* @author Guilhem Legal (Geomatys)
@@ -95,9 +95,9 @@ public final strictfp class CodeListMarshallingTest extends TestCase {
}
/**
- * Tests marshaling using the default URL.
+ * Tests marshalling using the default URL.
*
- * @throws JAXBException if an error occurred while marshaling the XML.
+ * @throws JAXBException if an error occurred while marshalling the XML.
*/
@Test
public void testDefaultURL() throws JAXBException {
@@ -113,9 +113,9 @@ public final strictfp class CodeListMarshallingTest extends TestCase {
}
/**
- * Tests marshaling using the ISO URL.
+ * Tests marshalling using the ISO URL.
*
- * @throws JAXBException if an error occurred while marshaling the XML.
+ * @throws JAXBException if an error occurred while marshalling the XML.
*/
@Test
public void testISO_URL() throws JAXBException {
@@ -136,7 +136,7 @@ public final strictfp class CodeListMarshallingTest extends TestCase {
/**
* Tests a code list localization.
*
- * @throws JAXBException if an error occurred while marshaling the XML.
+ * @throws JAXBException if an error occurred while marshalling the XML.
*/
@Test
public void testLocalization() throws JAXBException {
@@ -146,7 +146,7 @@ public final strictfp class CodeListMarshallingTest extends TestCase {
/**
* Tests a code list localization in ISO 19139:2007.
*
- * @throws JAXBException if an error occurred while marshaling the XML.
+ * @throws JAXBException if an error occurred while marshalling the XML.
*
* @since 1.0
*/
@@ -188,9 +188,9 @@ public final strictfp class CodeListMarshallingTest extends TestCase {
}
/**
- * Tests marshaling of a code list which is not in the list of standard codes.
+ * Tests marshalling of a code list which is not in the list of standard codes.
*
- * @throws JAXBException if an error occurred while marshaling the XML.
+ * @throws JAXBException if an error occurred while marshalling the XML.
*/
@Test
public void testExtraCodes() throws JAXBException {
diff --git a/core/sis-metadata/src/test/java/org/apache/sis/internal/jaxb/cat/EnumMarshallingTest.java b/core/sis-metadata/src/test/java/org/apache/sis/internal/jaxb/cat/EnumMarshallingTest.java
index 68b83ec..5bd366c 100644
--- a/core/sis-metadata/src/test/java/org/apache/sis/internal/jaxb/cat/EnumMarshallingTest.java
+++ b/core/sis-metadata/src/test/java/org/apache/sis/internal/jaxb/cat/EnumMarshallingTest.java
@@ -30,7 +30,7 @@ import static org.apache.sis.test.MetadataAssert.*;
/**
- * Tests the XML marshaling of {@code Enum}.
+ * Tests the XML marshalling of {@code Enum}.
*
* @author Martin Desruisseaux (Geomatys)
* @author Cullen Rombach (Image Matters)
@@ -40,9 +40,9 @@ import static org.apache.sis.test.MetadataAssert.*;
*/
public final strictfp class EnumMarshallingTest extends TestCase {
/**
- * Tests (un)marshaling of an enumeration.
+ * Tests (un)marshalling of an enumeration.
*
- * @throws JAXBException if an error occurred while (un)marshaling the XML.
+ * @throws JAXBException if an error occurred while (un)marshalling the XML.
*/
@Test
public void testTopicCategories() throws JAXBException {
diff --git a/core/sis-metadata/src/test/java/org/apache/sis/internal/jaxb/lan/LanguageCodeTest.java b/core/sis-metadata/src/test/java/org/apache/sis/internal/jaxb/lan/LanguageCodeTest.java
index ce89385..fac59d6 100644
--- a/core/sis-metadata/src/test/java/org/apache/sis/internal/jaxb/lan/LanguageCodeTest.java
+++ b/core/sis-metadata/src/test/java/org/apache/sis/internal/jaxb/lan/LanguageCodeTest.java
@@ -41,7 +41,7 @@ import static org.apache.sis.internal.util.StandardDateFormat.UTC;
/**
- * Tests the XML marshaling of {@code Locale} when used for a language.
+ * Tests the XML marshalling of {@code Locale} when used for a language.
* The locale is marshalled as a character string. This format was used directly by ISO 19139:2007
* but only indirectly by ISO 19115-3 (the newer version wraps the language in {@code PT_Locale}).
*
diff --git a/core/sis-metadata/src/test/java/org/apache/sis/internal/jaxb/lan/PT_LocaleTest.java b/core/sis-metadata/src/test/java/org/apache/sis/internal/jaxb/lan/PT_LocaleTest.java
index f7064dd..f0e3a16 100644
--- a/core/sis-metadata/src/test/java/org/apache/sis/internal/jaxb/lan/PT_LocaleTest.java
+++ b/core/sis-metadata/src/test/java/org/apache/sis/internal/jaxb/lan/PT_LocaleTest.java
@@ -28,7 +28,7 @@ import static org.apache.sis.test.Assert.*;
/**
- * Tests the XML marshaling of {@link PT_Locale}.
+ * Tests the XML marshalling of {@link PT_Locale}.
*
* @author Martin Desruisseaux (Geomatys)
* @author Cullen Rombach (Image Matters)
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 b30c809..6eaaa72 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
@@ -94,7 +94,7 @@ public final class MarshallingTest extends TestUsingFile implements WarningListe
private final MarshallerPool pool;
/**
- * The output to which the metadata object will be marshaled.
+ * The output to which the metadata object will be marshalled.
*/
private final StringWriter output;
diff --git a/core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/extent/DefaultGeographicBoundingBoxTest.java b/core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/extent/DefaultGeographicBoundingBoxTest.java
index b087644..8362e93 100644
--- a/core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/extent/DefaultGeographicBoundingBoxTest.java
+++ b/core/sis-metadata/src/test/java/org/apache/sis/metadata/iso/extent/DefaultGeographicBoundingBoxTest.java
@@ -351,7 +351,7 @@ public final strictfp class DefaultGeographicBoundingBoxTest extends TestCase {
assertBoxEquals(-λend, -λbgn, φmin, φmax, b1);
/*
* Reset the boxes to there initial state, then test again with the two boxes interchanged.
- * The consequence for the implementation is not as symetric than the above test, so there
+ * The consequence for the implementation is not as symmetric than the above test, so there
* is more risk of failure here.
*/
flipHorizontally(b2);
diff --git a/core/sis-referencing-by-identifiers/src/main/java/org/apache/sis/referencing/gazetteer/MilitaryGridReferenceSystem.java b/core/sis-referencing-by-identifiers/src/main/java/org/apache/sis/referencing/gazetteer/MilitaryGridReferenceSystem.java
index 23bb329..e8c4426 100644
--- a/core/sis-referencing-by-identifiers/src/main/java/org/apache/sis/referencing/gazetteer/MilitaryGridReferenceSystem.java
+++ b/core/sis-referencing-by-identifiers/src/main/java/org/apache/sis/referencing/gazetteer/MilitaryGridReferenceSystem.java
@@ -783,7 +783,7 @@ public class MilitaryGridReferenceSystem extends ReferencingByIdentifiers {
}
/**
- * If this iterator can be partitioned, returns an iterator covering approximatively
+ * If this iterator can be partitioned, returns an iterator covering approximately
* the first half of MGRS references and update this iterator for covering the other
* half. Each iterator will use a disjoint set of projected CRS.
*/
@@ -1529,8 +1529,8 @@ public class MilitaryGridReferenceSystem extends ReferencingByIdentifiers {
*/
if (col < 1 || col > 8) {
/*
- * UTM northing values at the equator range from 166021 to 833979 meters approximatively
- * (WGS84 ellipsoid). Consequently 'cx' ranges from approximatively 1.66 to 8.34, so 'c'
+ * UTM northing values at the equator range from 166021 to 833979 meters approximately
+ * (WGS84 ellipsoid). Consequently 'cx' ranges from approximately 1.66 to 8.34, so 'c'
* should range from 1 to 8 inclusive.
*/
throw new GazetteerException(Errors.format(Errors.Keys.OutsideDomainOfValidity));
diff --git a/core/sis-referencing-by-identifiers/src/test/java/org/apache/sis/referencing/gazetteer/MilitaryGridReferenceSystemTest.java b/core/sis-referencing-by-identifiers/src/test/java/org/apache/sis/referencing/gazetteer/MilitaryGridReferenceSystemTest.java
index 7d26e8f..71bf9b2 100644
--- a/core/sis-referencing-by-identifiers/src/test/java/org/apache/sis/referencing/gazetteer/MilitaryGridReferenceSystemTest.java
+++ b/core/sis-referencing-by-identifiers/src/test/java/org/apache/sis/referencing/gazetteer/MilitaryGridReferenceSystemTest.java
@@ -608,7 +608,7 @@ public final strictfp class MilitaryGridReferenceSystemTest extends TestCase {
}
/**
- * Encodes random coordinates, decodes them and verifies that the results are approximatively equal
+ * Encodes random coordinates, decodes them and verifies that the results are approximately equal
* to the original coordinates.
*
* @throws TransformException if an error occurred while computing the coordinate.
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/IdentifiedObjects.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/IdentifiedObjects.java
index e86b14e..ce6a533 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/IdentifiedObjects.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/IdentifiedObjects.java
@@ -396,7 +396,7 @@ public final class IdentifiedObjects extends Static {
* Looks up a URN, such as {@code "urn:ogc:def:crs:EPSG:9.1:4326"}, of the specified object.
* This method searches in all {@linkplain org.apache.sis.referencing.factory.GeodeticAuthorityFactory geodetic
* authority factories} known to SIS for an object {@linkplain org.apache.sis.util.ComparisonMode#APPROXIMATIVE
- * approximatively equals} to the specified object. Then there is a choice:
+ * approximately equals} to the specified object. Then there is a choice:
*
* <ul>
* <li>If a single matching object is found in the specified authority factory, then its URN is returned.</li>
@@ -512,7 +512,7 @@ public final class IdentifiedObjects extends Static {
/**
* Looks up an EPSG code, such as {@code 4326}, of the specified object. This method searches in EPSG factories
- * known to SIS for an object {@linkplain org.apache.sis.util.ComparisonMode#APPROXIMATIVE approximatively equals}
+ * known to SIS for an object {@linkplain org.apache.sis.util.ComparisonMode#APPROXIMATIVE approximately equals}
* to the specified object. If such an object is found, then its EPSG identifier is returned.
* Otherwise or if there is ambiguity, this method returns {@code null}.
*
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/BursaWolfParameters.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/BursaWolfParameters.java
index 85f6884..acc99ae 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/BursaWolfParameters.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/BursaWolfParameters.java
@@ -389,9 +389,9 @@ public class BursaWolfParameters extends FormattableObject implements Cloneable,
/**
* Inverts in-place the transformation by inverting the sign of all numerical parameters.
* The {@linkplain #getPositionVectorTransformation(Date) position vector transformation} matrix
- * created from inverted Bursa-Wolf parameters will be <strong>approximatively</strong> equals
+ * created from inverted Bursa-Wolf parameters will be <strong>approximately</strong> equals
* to the {@linkplain org.apache.sis.referencing.operation.matrix.MatrixSIS#inverse() inverse}
- * of the matrix created from the original parameters. The equality holds approximatively only
+ * of the matrix created from the original parameters. The equality holds approximately only
* because the parameter values are very small (parts per millions and arc-seconds).
*/
public void invert() {
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultEllipsoid.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultEllipsoid.java
index b1cb5f8..4ffb16c 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultEllipsoid.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultEllipsoid.java
@@ -646,7 +646,7 @@ public class DefaultEllipsoid extends AbstractIdentifiedObject implements Ellips
* This method returns 0 if the two ellipsoids are equal.
*
* <div class="note"><b>Example:</b>
- * {@code WGS84.flatteningDifference(ED50)} returns approximatively 1.41927E-05. This information is a parameter of
+ * {@code WGS84.flatteningDifference(ED50)} returns approximately 1.41927E-05. This information is a parameter of
* {@linkplain org.apache.sis.referencing.operation.transform.MolodenskyTransform Molodensky transformations}.</div>
*
* @param other the other ellipsoid from which to get flattening difference.
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/ConcurrentAuthorityFactory.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/ConcurrentAuthorityFactory.java
index 75b4088..682072b 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/ConcurrentAuthorityFactory.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/ConcurrentAuthorityFactory.java
@@ -1883,7 +1883,7 @@ public abstract class ConcurrentAuthorityFactory<DAO extends GeodeticAuthorityFa
}
/**
- * Looks up an object from this authority factory which is approximatively equal to the specified object.
+ * Looks up an object from this authority factory which is approximately equal to the specified object.
* The default implementation performs the same lookup than the Data Access Object and caches the result.
*/
@Override
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/IdentifiedObjectFinder.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/IdentifiedObjectFinder.java
index bd73f64..4edfc80 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/IdentifiedObjectFinder.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/IdentifiedObjectFinder.java
@@ -39,7 +39,7 @@ import org.apache.sis.util.Utilities;
/**
- * Searches in an authority factory for objects approximatively equal to a given object.
+ * Searches in an authority factory for objects approximately equal to a given object.
* This class can be used for fetching a fully defined {@linkplain AbstractIdentifiedObject identified object}
* from an incomplete one, for example from an object without "{@code ID[…]}" or "{@code AUTHORITY[…]}"
* element in <cite>Well Known Text</cite>.
@@ -273,7 +273,7 @@ public class IdentifiedObjectFinder {
}
/**
- * Lookups objects which are approximatively equal to the specified object.
+ * Lookups objects which are approximately equal to the specified object.
* The default implementation tries to instantiate some {@linkplain AbstractIdentifiedObject identified objects}
* from the authority factory specified at construction time, in the following order:
*
@@ -339,7 +339,7 @@ public class IdentifiedObjectFinder {
}
/**
- * Lookups only one object which is approximatively equal to the specified object.
+ * Lookups only one object which is approximately equal to the specified object.
* This method invokes {@link #find(IdentifiedObject)}, then examine the returned {@code Set} as below:
*
* <ul>
@@ -536,7 +536,7 @@ public class IdentifiedObjectFinder {
/**
* Returns a set of authority codes that <strong>may</strong> identify the same object than the specified one.
* The returned set must contains <em>at least</em> the code of every objects that are
- * {@linkplain ComparisonMode#APPROXIMATIVE approximatively equal} to the specified one.
+ * {@linkplain ComparisonMode#APPROXIMATIVE approximately equal} to the specified one.
* However the set may conservatively contains the code for more objects if an exact search is too expensive.
*
* <p>This method is invoked by the default {@link #find(IdentifiedObject)} method implementation.
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/sql/EPSGDataAccess.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/sql/EPSGDataAccess.java
index 7bbbb01..6b81602 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/sql/EPSGDataAccess.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/factory/sql/EPSGDataAccess.java
@@ -3080,7 +3080,7 @@ next: while (r.next()) {
}
/**
- * Lookups objects which are approximatively equal to the specified object.
+ * Lookups objects which are approximately equal to the specified object.
* This method temporarily disables warnings about deprecated objects.
*/
@Override
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/CoordinateOperationRegistry.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/CoordinateOperationRegistry.java
index f78bde3..b9deded 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/CoordinateOperationRegistry.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/CoordinateOperationRegistry.java
@@ -760,7 +760,7 @@ class CoordinateOperationRegistry {
throws IllegalArgumentException, FactoryException
{
/*
- * If the user-provided CRS are approximatively equal to the coordinate operation CRS, keep the later.
+ * If the user-provided CRS are approximately equal to the coordinate operation CRS, keep the later.
* The reason is that coordinate operation CRS are built from the definitions provided by the authority,
* while the user-provided CRS can be anything (e.g. parsed from a quite approximative WKT).
*/
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/builder/LinearTransformBuilder.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/builder/LinearTransformBuilder.java
index 1665fb2..4626307 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/builder/LinearTransformBuilder.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/builder/LinearTransformBuilder.java
@@ -45,7 +45,7 @@ import org.apache.sis.util.Classes;
/**
- * Creates an affine transform which will map approximatively the given source positions to the given target positions.
+ * Creates an affine transform which will map approximately the given source positions to the given target positions.
* In many cases, the <em>source</em> positions are grid indices and the <em>target</em> positions are geographic or
* projected coordinates, but this is not mandatory. If the source positions are known to be grid indices,
* then a builder created by the {@link #LinearTransformBuilder(int...)} constructor will be more efficient.
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/builder/TransformBuilder.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/builder/TransformBuilder.java
index 37fdc2c..ef621d7 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/builder/TransformBuilder.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/builder/TransformBuilder.java
@@ -24,7 +24,7 @@ import org.apache.sis.referencing.operation.transform.DefaultMathTransformFactor
/**
- * Creates a transform which will map approximatively the given source positions to the given target positions.
+ * Creates a transform which will map approximately the given source positions to the given target positions.
* The transform may be a linear approximation the minimize the errors in a <cite>least square</cite> sense,
* or a more accurate transform using a localization grid.
*
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/matrix/GeneralMatrix.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/matrix/GeneralMatrix.java
index 27477ec..6978537 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/matrix/GeneralMatrix.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/matrix/GeneralMatrix.java
@@ -57,7 +57,7 @@ class GeneralMatrix extends MatrixSIS implements ExtendedPrecisionMatrix {
* <p>Note that if we were using {@code double} arithmetic instead than double-double, then all results smaller
* than {@code Math.ulp(max)} would not be significant. Those cases could be caught by a {@code ZERO_THRESHOLD}
* value of 1. On the other hand, if all the extra precision of double-double arithmetic was considered valid,
- * then the {@code ZERO_THRESHOLD} value would be approximatively 1E-16. In reality, the extra digits in our
+ * then the {@code ZERO_THRESHOLD} value would be approximately 1E-16. In reality, the extra digits in our
* double-double arithmetic were usually guessed rather than provided, and the last digits are also subject to
* rounding errors anyway. So we put the threshold to some arbitrary mid-value, which may change in any future
* SIS version according experience gained. As long as the value is smaller than 1, it still more accurate than
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/ConformalProjection.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/ConformalProjection.java
index 4b68935..e0ed314 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/ConformalProjection.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/ConformalProjection.java
@@ -389,7 +389,7 @@ abstract class ConformalProjection extends NormalizedProjection {
/**
* Verifies if a trigonometric identity produced the expected value. This method is used in assertions only,
- * for values close to the [-1 … +1] range. The tolerance threshold is approximatively 1.5E-12 (note that it
+ * for values close to the [-1 … +1] range. The tolerance threshold is approximately 1.5E-12 (note that it
* still about 7000 time greater than {@code Math.ulp(1.0)}).
*
* @see #ALLOW_TRIGONOMETRIC_IDENTITIES
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/Mercator.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/Mercator.java
index 58b3211..915c9ba 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/Mercator.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/Mercator.java
@@ -439,7 +439,7 @@ public class Mercator extends ConformalProjection {
* this class contains an explicit check for latitude values at a pole. If floating point arithmetic had infinite
* precision, such checks would not be necessary since the formulas lead naturally to infinite values at poles,
* which is the correct answer. In practice the infinite value emerges by itself at only one pole, and the other
- * one produces a high value (approximatively 1E+16). This is because there is no accurate representation of π/2,
+ * one produces a high value (approximately 1E+16). This is because there is no accurate representation of π/2,
* and consequently {@code tan(π/2)} does not return the infinite value. We workaround this issue with an explicit
* check for abs(φ) ≊ π/2. Note that:
*
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 d7e1ea2..c9e1c8f 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
@@ -981,7 +981,7 @@ public abstract class NormalizedProjection extends AbstractMathTransform2D imple
}
default: {
/*
- * We want to compare the eccentricity with a tolerance threshold corresponding approximatively
+ * We want to compare the eccentricity with a tolerance threshold corresponding approximately
* to an error of 1 cm on Earth. The eccentricity for an ellipsoid of semi-major axis a=1 is:
*
* ℯ² = 1 - b²
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 9f1e3f1..cfc692b 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
@@ -242,7 +242,7 @@ abstract class AbstractLinearTransform extends AbstractMathTransform implements
* <ul>
* <li>In {@code STRICT} mode, the objects are of the same class and {@link #equalsSameClass(Object)}
* returns {@code true}.</li>
- * <li>In other modes, the matrix are equals or approximatively equals (depending on the mode).</li>
+ * <li>In other modes, the matrix are equals or approximately equals (depending on the mode).</li>
* </ul>
*
* @param object the object to compare with this 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 932de88..f821a13 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
@@ -881,7 +881,7 @@ public abstract class AbstractMathTransform extends FormattableObject
* Compares the specified object with this math transform for equality.
* Two math transforms are considered equal if, given identical source positions, their
* {@linkplain #transform(DirectPosition,DirectPosition) transformed} positions would be
- * equal or {@linkplain ComparisonMode#APPROXIMATIVE approximatively} equal.
+ * equal or {@linkplain ComparisonMode#APPROXIMATIVE approximately} equal.
* This method may conservatively returns {@code false} if unsure.
*
* <p>The default implementation returns {@code true} if the following conditions are meet:</p>
diff --git a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/ConcatenatedTransform.java b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/ConcatenatedTransform.java
index 3f32b61..1583751 100644
--- a/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/ConcatenatedTransform.java
+++ b/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/transform/ConcatenatedTransform.java
@@ -114,7 +114,7 @@ class ConcatenatedTransform extends AbstractMathTransform implements Serializabl
}
/**
- * Tests if one math transform is the inverse of the other, or approximatively the inverse.
+ * Tests if one math transform is the inverse of the other, or approximately the inverse.
* Used for {@link #createOptimized(MathTransform, MathTransform, MathTransformFactory)} implementation.
*/
private static boolean areInverse(final MathTransform tr1, MathTransform tr2) {
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 19ca548..dcd626e 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
@@ -1018,7 +1018,7 @@ next: while (--numPts >= 0) {
if (applyOtherFirst && withHeight && other instanceof LinearTransform && other.getSourceDimensions() == 2) {
/*
* Found a 4×3 matrix before this transform. We can reduce to a 3×3 matrix only if the row that we are
- * about to drop unconditionnaly set the height to zero (i.e. all coefficients in that row are zero).
+ * about to drop unconditionally set the height to zero (i.e. all coefficients in that row are zero).
*/
Matrix matrix = ((LinearTransform) other).getMatrix();
if (matrix.getElement(2,0) == 0 &&
diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/datum/DefaultVerticalDatumTest.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/datum/DefaultVerticalDatumTest.java
index 51641c6..ccce077 100644
--- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/datum/DefaultVerticalDatumTest.java
+++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/datum/DefaultVerticalDatumTest.java
@@ -153,7 +153,7 @@ public final strictfp class DefaultVerticalDatumTest extends TestCase {
assertEquals("remarks", "Approximates geoid.", datum.getRemarks().toString());
assertEquals("scope", "Hydrography.", datum.getScope().toString());
/*
- * Test marshaling. We can not yet compare with the original XML file
+ * Test marshalling. We can not yet compare with the original XML file
* because of all the information lost. This may be fixed in a future
* SIS version (SIS-160).
*/
diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/CoordinateOperationFinderTest.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/CoordinateOperationFinderTest.java
index db1efbb..89986e9 100644
--- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/CoordinateOperationFinderTest.java
+++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/CoordinateOperationFinderTest.java
@@ -541,7 +541,7 @@ public final strictfp class CoordinateOperationFinderTest extends MathTransformT
/**
* Tests a conversion of the temporal axis. We convert 1899-12-31 from a CRS having its epoch at 1970-1-1
- * to an other CRS having its epoch at 1858-11-17, so the new value shall be approximatively 41 years
+ * to an other CRS having its epoch at 1858-11-17, so the new value shall be approximately 41 years
* after the new epoch. This conversion also implies a change of units from seconds to days.
*
* @throws FactoryException if the operation can not be created.
diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/builder/LocalizationGridBuilderTest.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/builder/LocalizationGridBuilderTest.java
index 0a72b06..0134f56 100644
--- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/builder/LocalizationGridBuilderTest.java
+++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/builder/LocalizationGridBuilderTest.java
@@ -82,7 +82,7 @@ public final strictfp class LocalizationGridBuilderTest extends TransformTestCas
isInverseTransformSupported = false;
verifyQuadratic();
/*
- * The tolerance value specified here should be approximatively equal to ResidualGrid.accuracy.
+ * The tolerance value specified here should be approximately equal to ResidualGrid.accuracy.
*/
tolerance = LocalizationGridBuilder.DEFAULT_PRECISION;
isInverseTransformSupported = true;
diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/matrix/MatrixTestCase.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/matrix/MatrixTestCase.java
index 7253a6d..5ca2f0a 100644
--- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/matrix/MatrixTestCase.java
+++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/matrix/MatrixTestCase.java
@@ -66,7 +66,7 @@ public abstract strictfp class MatrixTestCase extends TestCase {
/**
* Tolerance factor for comparisons of floating point numbers between SIS and JAMA implementation,
* which is {@value}. Note that the matrix element values used in this class vary between 0 and 100,
- * and the {@code StrictMath.ulp(100.0)} value is approximatively 1.4E-14.
+ * and the {@code StrictMath.ulp(100.0)} value is approximately 1.4E-14.
*
* <div class="section">How this value is determined</div>
* Experience (by looking at {@link #statistics}) shows that the differences are usually smaller than 1E-12.
@@ -199,7 +199,7 @@ public abstract strictfp class MatrixTestCase extends TestCase {
}
/**
- * Returns the next random number as a value between approximatively -100 and 100
+ * Returns the next random number as a value between approximately -100 and 100
* with the guarantee to be different than zero. The values returned by this method
* are suitable for testing scale factors.
*/
@@ -445,7 +445,7 @@ public abstract strictfp class MatrixTestCase extends TestCase {
}
/**
- * Asserts that the given matrix has approximatively the same coefficients than the given affine transform.
+ * Asserts that the given matrix has approximately the same coefficients than the given affine transform.
*/
private static void assertCoefficientsEqual(final AffineTransform at, final MatrixSIS matrix) {
assertEqualsRelative("m20", 0, matrix, 2, 0);
diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/MercatorMethodComparison.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/MercatorMethodComparison.java
index 4123372..09a2681 100644
--- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/MercatorMethodComparison.java
+++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/MercatorMethodComparison.java
@@ -76,7 +76,7 @@ public final class MercatorMethodComparison { // No 'strictfp' keyword here si
private final double c2χ, c4χ, c6χ, c8χ;
/**
- * Creates a new instance for the excentricty of the WGS84 ellipsoid, which is approximatively 0.08181919084262157.
+ * Creates a new instance for the excentricty of the WGS84 ellipsoid, which is approximately 0.08181919084262157.
* Reminder: the eccentricity of a sphere is 0.
*/
public MercatorMethodComparison() {
diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/ProjectionResultComparator.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/ProjectionResultComparator.java
index a6c1c95..3ea1ca1 100644
--- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/ProjectionResultComparator.java
+++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/projection/ProjectionResultComparator.java
@@ -51,14 +51,14 @@ import static org.junit.Assert.*;
final strictfp class ProjectionResultComparator extends NormalizedProjection {
/**
* Maximum difference allowed when comparing the result of an inverse projections, in radians.
- * A value of 1E-11 radians is approximatively 5 centimetres.
+ * A value of 1E-11 radians is approximately 5 centimetres.
* Note that inverse projections are typically less accurate than forward projections.
*/
private static final double INVERSE_TOLERANCE = NormalizedProjection.ANGULAR_TOLERANCE;
/**
* Maximum difference allowed when comparing the result of forward projections,
- * in distance on the unit ellipse. A value of 1E-8 is approximatively 0.01 metres.
+ * in distance on the unit ellipse. A value of 1E-8 is approximately 0.01 metres.
*/
private static final double FORWARD_TOLERANCE = Formulas.LINEAR_TOLERANCE;
diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/CoordinateDomainTest.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/CoordinateDomainTest.java
index ded4035..33eaf7d 100644
--- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/CoordinateDomainTest.java
+++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/CoordinateDomainTest.java
@@ -85,7 +85,7 @@ public strictfp class CoordinateDomainTest extends TestCase {
/**
* Tests {@link CoordinateDomain#GEOGRAPHIC_SAFE}.
- * Latitude values shall be in the [-66 … +66]° range approximatively.
+ * Latitude values shall be in the [-66 … +66]° range approximately.
*/
@Test
public void testGeographicSafe() {
@@ -101,7 +101,7 @@ public strictfp class CoordinateDomainTest extends TestCase {
/**
* Tests {@link CoordinateDomain#GEOGRAPHIC_POLES}.
- * Latitude values shall be in the [-90 … -66]° or [66 … 90]° range approximatively.
+ * Latitude values shall be in the [-90 … -66]° or [66 … 90]° range approximately.
*/
@Test
public void testGeographicPole() {
diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/CopyTransformTest.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/CopyTransformTest.java
index f596e5c..0e6c2eb 100644
--- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/CopyTransformTest.java
+++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/CopyTransformTest.java
@@ -43,7 +43,7 @@ import static org.apache.sis.test.ReferencingAssert.*;
})
public final strictfp class CopyTransformTest extends MathTransformTestCase {
/**
- * Generates random ordinates with approximatively 5% of NaN values in the array.
+ * Generates random ordinates with approximately 5% of NaN values in the array.
*/
private double[] generateRandomCoordinates() {
return generateRandomCoordinates(CoordinateDomain.GEOGRAPHIC, 0.05f);
diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/InterpolatedTransformTest.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/InterpolatedTransformTest.java
index 0e3e604..1e273b4 100644
--- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/InterpolatedTransformTest.java
+++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/InterpolatedTransformTest.java
@@ -51,7 +51,7 @@ import org.junit.Test;
public final strictfp class InterpolatedTransformTest extends MathTransformTestCase {
/**
* Creates the same transformation than <cite>"France geocentric interpolation"</cite> transform
- * (approximatively), but using shifts in geographic domain instead than in geocentric domain.
+ * (approximately), but using shifts in geographic domain instead than in geocentric domain.
*
* @throws FactoryException if an error occurred while loading the grid.
*/
diff --git a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/MolodenskyTransformTest.java b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/MolodenskyTransformTest.java
index e00b284..ae994d9 100644
--- a/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/MolodenskyTransformTest.java
+++ b/core/sis-referencing/src/test/java/org/apache/sis/referencing/operation/transform/MolodenskyTransformTest.java
@@ -57,7 +57,7 @@ import static org.apache.sis.test.Assert.*;
* Tests {@link MolodenskyTransform}. The {@link #compareWithGeocentricTranslation()}
* method uses {@link EllipsoidToCentricTransform} as a reference implementation.
* The errors compared to geocentric translations should not be greater than
- * approximatively 1 centimetre.
+ * approximately 1 centimetre.
*
* @author Tara Athan
* @author Martin Desruisseaux (Geomatys)
@@ -256,7 +256,7 @@ public final strictfp class MolodenskyTransformTest extends MathTransformTestCas
/**
* Tests the point used in {@link FranceGeocentricInterpolationTest}. We use this test for measuring the
* errors induced by the use of the Molodensky approximation instead than a real geocentric translation.
- * The error is approximatively 1 centimetre, which is about 6 times more than the accuracy of the point
+ * The error is approximately 1 centimetre, which is about 6 times more than the accuracy of the point
* given in {@code FranceGeocentricInterpolationTest}.
*
* @throws FactoryException if an error occurred while creating the transform.
diff --git a/core/sis-referencing/src/test/java/org/apache/sis/test/integration/ConsistencyTest.java b/core/sis-referencing/src/test/java/org/apache/sis/test/integration/ConsistencyTest.java
index 349531c..d2a7eef 100644
--- a/core/sis-referencing/src/test/java/org/apache/sis/test/integration/ConsistencyTest.java
+++ b/core/sis-referencing/src/test/java/org/apache/sis/test/integration/ConsistencyTest.java
@@ -239,7 +239,7 @@ public final strictfp class ConsistencyTest extends TestCase {
{
final Identifier id = IdentifiedObjects.getIdentifier(crs, null);
/*
- * Lookup operation is not going to work if the CRS are not approximatively equal.
+ * Lookup operation is not going to work if the CRS are not approximately equal.
*/
final String urn = IdentifiedObjects.toURN(crs.getClass(), id);
assertNotNull(crs.getName().getCode(), urn);
diff --git a/core/sis-referencing/src/test/resources/org/apache/sis/referencing/operation/Conversion.xml b/core/sis-referencing/src/test/resources/org/apache/sis/referencing/operation/Conversion.xml
index e9c52c9..20f2912 100644
--- a/core/sis-referencing/src/test/resources/org/apache/sis/referencing/operation/Conversion.xml
+++ b/core/sis-referencing/src/test/resources/org/apache/sis/referencing/operation/Conversion.xml
@@ -84,7 +84,7 @@
</gml:parameter>
<!-- There is more parameters in a Mercator projection,
- but two are enough for (un)marshaling test purpose. -->
+ but two are enough for (un)marshalling test purpose. -->
</gml:OperationMethod>
</gml:method>
@@ -119,6 +119,6 @@
</gml:parameterValue>
<!-- There is more parameters in a Mercator projection,
- but two are enough for (un)marshaling test purpose. -->
+ but two are enough for (un)marshalling test purpose. -->
</gml:Conversion>
diff --git a/core/sis-utility/src/main/java/org/apache/sis/internal/system/Loggers.java b/core/sis-utility/src/main/java/org/apache/sis/internal/system/Loggers.java
index af15028..ef8f011 100644
--- a/core/sis-utility/src/main/java/org/apache/sis/internal/system/Loggers.java
+++ b/core/sis-utility/src/main/java/org/apache/sis/internal/system/Loggers.java
@@ -30,7 +30,7 @@ import org.apache.sis.util.logging.Logging;
/**
- * Names of loggers used in SIS other than the "module-wide" loggers. We often use approximatively one logger
+ * Names of loggers used in SIS other than the "module-wide" loggers. We often use approximately one logger
* per module, using the appropriate constant of the {@link Modules} class as the "module-wide" logger name.
* However we also have a few more specialized loggers, which are listed here.
*
diff --git a/core/sis-utility/src/main/java/org/apache/sis/internal/util/Numerics.java b/core/sis-utility/src/main/java/org/apache/sis/internal/util/Numerics.java
index 2540dd6..876a9ba 100644
--- a/core/sis-utility/src/main/java/org/apache/sis/internal/util/Numerics.java
+++ b/core/sis-utility/src/main/java/org/apache/sis/internal/util/Numerics.java
@@ -248,19 +248,19 @@ public final class Numerics extends Static {
}
/**
- * Returns {@code true} if the given values are approximatively equal, up to the given comparison threshold.
+ * Returns {@code true} if the given values are approximately equal, up to the given comparison threshold.
*
* @param v1 the first value to compare.
* @param v2 the second value to compare.
* @param threshold the comparison threshold.
- * @return {@code true} if both values are approximatively equal.
+ * @return {@code true} if both values are approximately equal.
*/
public static boolean epsilonEqual(final double v1, final double v2, final double threshold) {
return (abs(v1 - v2) <= threshold) || equals(v1, v2);
}
/**
- * Returns {@code true} if the given values are approximatively equal given the comparison mode.
+ * Returns {@code true} if the given values are approximately equal given the comparison mode.
* In mode {@code APPROXIMATIVE} or {@code DEBUG}, this method will compute a relative comparison
* threshold from the {@link #COMPARISON_THRESHOLD} constant.
*
diff --git a/core/sis-utility/src/main/java/org/apache/sis/math/DecimalFunctions.java b/core/sis-utility/src/main/java/org/apache/sis/math/DecimalFunctions.java
index 15fc86f..5f9b92f 100644
--- a/core/sis-utility/src/main/java/org/apache/sis/math/DecimalFunctions.java
+++ b/core/sis-utility/src/main/java/org/apache/sis/math/DecimalFunctions.java
@@ -182,7 +182,7 @@ public final class DecimalFunctions extends Static {
/**
* Returns the difference between the given {@code double} value and the representation of that value in base 10.
- * For any value in the method's domain of validity (defined below), this method is <em>approximatively</em>
+ * For any value in the method's domain of validity (defined below), this method is <em>approximately</em>
* equivalent to the following code except that it is potentially faster since the actual implementation
* avoids the creation of {@link java.math.BigDecimal} objects:
*
@@ -200,7 +200,7 @@ public final class DecimalFunctions extends Static {
* Many international standards define values in base 10. For example the conversion factor from inches
* to centimetres is defined as exactly 2.54 cm/inch. This is by an internationally accepted definition
* since 1959, not an approximation. But the 2.54 value can not be represented exactly in the IEEE 754
- * format – the error is approximatively 3.6E-17 cm/inch. In the vast majority of cases such tiny error
+ * format – the error is approximately 3.6E-17 cm/inch. In the vast majority of cases such tiny error
* can be ignored. But in situations where it is desirable to have an error estimation
* (e.g. in non-linear equations where errors can grow exponentially), this method can be useful.
* Other examples of values defined in base 10 are conversions from feet to metres and
@@ -208,7 +208,7 @@ public final class DecimalFunctions extends Static {
* </div>
*
* <div class="section">Domain of validity</div>
- * The current implementation can not compute delta for {@code abs(value) < 3E-8} approximatively,
+ * The current implementation can not compute delta for {@code abs(value) < 3E-8} approximately,
* except for the 0 value which is supported. For any non-zero value closer to zero than the 3E-8
* threshold, this method returns {@code NaN} because of insufficient algorithm accuracy.
* This limitation may change in any future SIS version if we find a better algorithm.
diff --git a/core/sis-utility/src/main/java/org/apache/sis/math/Statistics.java b/core/sis-utility/src/main/java/org/apache/sis/math/Statistics.java
index e646a7e..2bde844 100644
--- a/core/sis-utility/src/main/java/org/apache/sis/math/Statistics.java
+++ b/core/sis-utility/src/main/java/org/apache/sis/math/Statistics.java
@@ -41,7 +41,7 @@ import static java.lang.Double.doubleToLongBits;
* statistics on the differences between consecutive sample values, i.e. the statistics on
* <var>y₁</var>-<var>y₀</var>, <var>y₂</var>-<var>y₁</var>, <var>y₃</var>-<var>y₂</var>, <i>etc…</i>,
* Those statistics can be fetched by a call to {@link #differences()}.
- * They are useful for verifying if the interval between sample values is approximatively constant.</p>
+ * They are useful for verifying if the interval between sample values is approximately constant.</p>
*
* <p>If the samples are (at least conceptually) the result of some <var>y</var>=<var>f</var>(<var>x</var>)
* function for <var>x</var> values increasing or decreasing at a constant interval Δ<var>x</var>,
diff --git a/core/sis-utility/src/main/java/org/apache/sis/math/Vector.java b/core/sis-utility/src/main/java/org/apache/sis/math/Vector.java
index 0bda53f..a1e649d 100644
--- a/core/sis-utility/src/main/java/org/apache/sis/math/Vector.java
+++ b/core/sis-utility/src/main/java/org/apache/sis/math/Vector.java
@@ -66,7 +66,7 @@ import static org.apache.sis.util.ArgumentChecks.ensureValidIndex;
* </ul>
*
* Widening conversions (for example from {@code short} to {@code long}) are always allowed.
- * Narrowing conversions are allowed if the result can be represented at least approximatively by the target type.
+ * Narrowing conversions are allowed if the result can be represented at least approximately by the target type.
* For example conversions from {@code double} to {@code float} are always allowed (values that are too large for
* the {@code float} type are represented by positive of negative infinity), but conversions from {@code long} to
* {@code short} are allowed only if the value is between {@link Short#MIN_VALUE} and {@link Short#MAX_VALUE} inclusive.
diff --git a/core/sis-utility/src/main/java/org/apache/sis/measure/Units.java b/core/sis-utility/src/main/java/org/apache/sis/measure/Units.java
index 8822a43..3d402f9 100644
--- a/core/sis-utility/src/main/java/org/apache/sis/measure/Units.java
+++ b/core/sis-utility/src/main/java/org/apache/sis/measure/Units.java
@@ -164,7 +164,7 @@ public final class Units extends Static {
/**
* Unit of measurement defined as exactly 1852 metres (1 M).
- * This is approximatively the distance between two parallels of latitude
+ * This is approximately the distance between two parallels of latitude
* separated by one {@linkplain #ARC_MINUTE arc-minute}.
* The {@linkplain ConventionalUnit#getSystemUnit() system unit} is {@link #METRE},
* the unlocalized name is “nautical mile” and the identifier is EPSG:9030.
@@ -205,7 +205,7 @@ public final class Units extends Static {
public static final Unit<Length> STATUTE_MILE;
/**
- * Unit of measurement approximatively equals to 0.3048006096… metres.
+ * Unit of measurement approximately equals to 0.3048006096… metres.
* The legal definition is exactly 12/39.37 metres.
* The {@linkplain ConventionalUnit#getSystemUnit() system unit} is {@link #METRE},
* the unlocalized name is “US survey foot” and the identifier is EPSG:9003.
@@ -342,7 +342,7 @@ public final class Units extends Static {
/**
* Unit of measurement defined as 10<sup>-6</sup> radians (1 µrad).
- * The distance of one microradian of latitude on Earth is approximatively 2 millimetres.
+ * The distance of one microradian of latitude on Earth is approximately 2 millimetres.
* The {@linkplain ConventionalUnit#getSystemUnit() system unit} is {@link #RADIAN},
* the unlocalized name is “microradian” and the identifier is EPSG:9109.
*
@@ -393,7 +393,7 @@ public final class Units extends Static {
/**
* Unit of measurement defined as 1/60 degree (1′).
- * The distance of one arc-minute of latitude on Earth is approximatively 1852 metres
+ * The distance of one arc-minute of latitude on Earth is approximately 1852 metres
* (one {@linkplain #NAUTICAL_MILE nautical mile}).
* The {@linkplain ConventionalUnit#getSystemUnit() system unit} is {@link #RADIAN},
* the unlocalized name is “arc-minute” and the identifier is EPSG:9103.
@@ -411,7 +411,7 @@ public final class Units extends Static {
/**
* Unit of measurement defined as 1/(60×60) degree (1″).
- * The distance of one arc-second of latitude on Earth is approximatively 31 metres.
+ * The distance of one arc-second of latitude on Earth is approximately 31 metres.
* This unit of measurement is used for rotation terms in
* {@linkplain org.apache.sis.referencing.datum.BursaWolfParameters Bursa-Wolf parameters}.
* The {@linkplain ConventionalUnit#getSystemUnit() system unit} is {@link #RADIAN},
@@ -546,7 +546,7 @@ public final class Units extends Static {
public static final Unit<Time> WEEK;
/**
- * Unit of measurement approximatively equals to 365.24219 days (1 a).
+ * Unit of measurement approximately equals to 365.24219 days (1 a).
* This is defined by the International Union of Geological Sciences (IUGS) as exactly 31556925.445 seconds,
* taken as the length of the tropical year in the the year 2000.
* The {@linkplain ConventionalUnit#getSystemUnit() system unit} is {@link #SECOND},
@@ -1044,7 +1044,7 @@ public final class Units extends Static {
/**
* Dimensionless unit for pixels (px).
* The unlocalized name is “pixel”.
- * This unity should not be confused with {@link #POINT}, which is approximatively equal to 1/72 of inch.
+ * This unity should not be confused with {@link #POINT}, which is approximately equal to 1/72 of inch.
*
* @see #POINT
*/
diff --git a/core/sis-utility/src/main/java/org/apache/sis/util/ComparisonMode.java b/core/sis-utility/src/main/java/org/apache/sis/util/ComparisonMode.java
index 21f9e3e..aed171e 100644
--- a/core/sis-utility/src/main/java/org/apache/sis/util/ComparisonMode.java
+++ b/core/sis-utility/src/main/java/org/apache/sis/util/ComparisonMode.java
@@ -127,7 +127,7 @@ public enum ComparisonMode {
*
* <div class="section">Application to coordinate operations</div>
* If two {@link org.opengis.referencing.operation.MathTransform} objects are considered equal according this mode,
- * then for any given identical source position, the two compared transforms shall compute at least approximatively
+ * then for any given identical source position, the two compared transforms shall compute at least approximately
* the same target position.
* A small difference is tolerated between the target coordinates calculated by the two math transforms.
* How small is “small” is implementation dependent — the threshold can not be specified in the current
@@ -141,7 +141,7 @@ public enum ComparisonMode {
* ignores some attributes that may differ between objects not equal but related.
*
* <p>The main purpose of this method is to verify if two Coordinate Reference Systems (CRS)
- * are approximatively equal ignoring axis order.</p>
+ * are approximately equal ignoring axis order.</p>
*
* <div class="note"><b>Example:</b>
* consider two geographic coordinate reference systems with the same attributes except axis order,
diff --git a/core/sis-utility/src/main/java/org/apache/sis/util/Utilities.java b/core/sis-utility/src/main/java/org/apache/sis/util/Utilities.java
index 0f9d41a..7d9b6a1 100644
--- a/core/sis-utility/src/main/java/org/apache/sis/util/Utilities.java
+++ b/core/sis-utility/src/main/java/org/apache/sis/util/Utilities.java
@@ -27,7 +27,7 @@ import org.apache.sis.util.collection.CheckedContainer;
/**
- * Static methods for object comparisons in different ways (deeply, approximatively, <i>etc</i>).
+ * Static methods for object comparisons in different ways (deeply, approximately, <i>etc</i>).
*
* @author Martin Desruisseaux (IRD, Geomatys)
* @version 0.3
@@ -85,7 +85,7 @@ public final class Utilities extends Static {
* <ul>
* <li>If the two given objects are
* {@linkplain org.apache.sis.referencing.operation.transform.AbstractMathTransform math transforms},
- * then transforming a set of coordinate values using one transform will produce <em>approximatively</em>
+ * then transforming a set of coordinate values using one transform will produce <em>approximately</em>
* the same results than transforming the same coordinates with the other transform.</li>
*
* <li>If the two given objects are
@@ -103,7 +103,7 @@ public final class Utilities extends Static {
*
* @param object1 the first object to compare (may be null).
* @param object2 the second object to compare (may be null).
- * @return {@code true} if both objects are approximatively equal.
+ * @return {@code true} if both objects are approximately equal.
*
* @see #deepEquals(Object, Object, ComparisonMode)
* @see ComparisonMode#APPROXIMATIVE
diff --git a/core/sis-utility/src/main/java/org/apache/sis/util/collection/CodeListSet.java b/core/sis-utility/src/main/java/org/apache/sis/util/collection/CodeListSet.java
index d2b4e6d..61865fd 100644
--- a/core/sis-utility/src/main/java/org/apache/sis/util/collection/CodeListSet.java
+++ b/core/sis-utility/src/main/java/org/apache/sis/util/collection/CodeListSet.java
@@ -237,7 +237,7 @@ public class CodeListSet<E extends CodeList<E>> extends AbstractSet<E>
return values != (values |= (1L << ordinal));
}
/*
- * The above code is suffisient in the vast majority of cases. In the rare cases where
+ * The above code is sufficient in the vast majority of cases. In the rare cases where
* there is more than 64 elements, create a BitSet for storing the supplementary values.
*/
BitSet s = supplementary;
diff --git a/core/sis-utility/src/test/java/org/apache/sis/internal/util/DoubleDoubleTest.java b/core/sis-utility/src/test/java/org/apache/sis/internal/util/DoubleDoubleTest.java
index 909ed47..3aa1bb5 100644
--- a/core/sis-utility/src/test/java/org/apache/sis/internal/util/DoubleDoubleTest.java
+++ b/core/sis-utility/src/test/java/org/apache/sis/internal/util/DoubleDoubleTest.java
@@ -265,7 +265,7 @@ public final strictfp class DoubleDoubleTest extends TestCase {
* In the {@code sqrt(2)} case:
*
* <ul>
- * <li>The error using {@code double} arithmetic is approximatively 1E-16.</li>
+ * <li>The error using {@code double} arithmetic is approximately 1E-16.</li>
* <li>The error using double-double arithmetic is expected to be slightly less that 1E-32.</li>
* </ul>
*/
@@ -279,7 +279,7 @@ public final strictfp class DoubleDoubleTest extends TestCase {
assertEquals(0, SQRT2.subtract(toBigDecimal(dd)).doubleValue(), 1E-32);
/*
* If we have been able to compute √2, now test with random values.
- * Since the range of values is approximatively [-1000 … 1000], use
+ * Since the range of values is approximately [-1000 … 1000], use
* a tolerance value 1000 time the one that we used for √2.
*/
for (int i=0; i<NUMBER_OF_REPETITIONS; i++) {
diff --git a/core/sis-utility/src/test/java/org/apache/sis/test/Assert.java b/core/sis-utility/src/test/java/org/apache/sis/test/Assert.java
index 670f9a4..8c551bc 100644
--- a/core/sis-utility/src/test/java/org/apache/sis/test/Assert.java
+++ b/core/sis-utility/src/test/java/org/apache/sis/test/Assert.java
@@ -75,7 +75,7 @@ public strictfp class Assert extends org.opengis.test.Assert {
}
/**
- * Asserts that the two given objects are approximatively equal, while slightly different.
+ * Asserts that the two given objects are approximately equal, while slightly different.
* More specifically, this method asserts that the given objects are equal according the
* {@link ComparisonMode#APPROXIMATIVE} criterion, but not equal according the
* {@link ComparisonMode#IGNORE_METADATA} criterion.
@@ -86,7 +86,7 @@ public strictfp class Assert extends org.opengis.test.Assert {
public static void assertAlmostEquals(final Object expected, final Object actual) {
assertFalse("Shall not be strictly equals", Utilities.deepEquals(expected, actual, ComparisonMode.STRICT));
assertFalse("Shall be slightly different", Utilities.deepEquals(expected, actual, ComparisonMode.IGNORE_METADATA));
- assertTrue ("Shall be approximatively equals", Utilities.deepEquals(expected, actual, ComparisonMode.DEBUG));
+ assertTrue ("Shall be approximately equals", Utilities.deepEquals(expected, actual, ComparisonMode.DEBUG));
assertTrue ("DEBUG inconsistent with APPROXIMATIVE", Utilities.deepEquals(expected, actual, ComparisonMode.APPROXIMATIVE));
}
@@ -98,7 +98,7 @@ public strictfp class Assert extends org.opengis.test.Assert {
* @param actual the actual object.
*/
public static void assertEqualsIgnoreMetadata(final Object expected, final Object actual) {
- assertTrue("Shall be approximatively equals", Utilities.deepEquals(expected, actual, ComparisonMode.DEBUG));
+ assertTrue("Shall be approximately equals", Utilities.deepEquals(expected, actual, ComparisonMode.DEBUG));
assertTrue("DEBUG inconsistent with APPROXIMATIVE", Utilities.deepEquals(expected, actual, ComparisonMode.APPROXIMATIVE));
assertTrue("Shall be equal, ignoring metadata", Utilities.deepEquals(expected, actual, ComparisonMode.IGNORE_METADATA));
}
diff --git a/storage/sis-geotiff/src/main/java/org/apache/sis/storage/geotiff/CRSBuilder.java b/storage/sis-geotiff/src/main/java/org/apache/sis/storage/geotiff/CRSBuilder.java
index 6a2061d..b92011a 100644
--- a/storage/sis-geotiff/src/main/java/org/apache/sis/storage/geotiff/CRSBuilder.java
+++ b/storage/sis-geotiff/src/main/java/org/apache/sis/storage/geotiff/CRSBuilder.java
@@ -497,7 +497,7 @@ final class CRSBuilder {
}
/**
- * Verifies that a value found in the GeoTIFF file is approximatively equal to the expected value.
+ * Verifies that a value found in the GeoTIFF file is approximately equal to the expected value.
* This method is invoked when a CRS component is defined both explicitly and by EPSG code,
* in which case we expect the given value to be equal to the value fetched from the EPSG database.
* If the values do not match, a warning is reported and the caller should use the EPSG value.
diff --git a/storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/MetadataReader.java b/storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/MetadataReader.java
index 975692a..0493dcc 100644
--- a/storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/MetadataReader.java
+++ b/storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/MetadataReader.java
@@ -967,7 +967,7 @@ split: while ((start = CharSequences.skipLeadingWhitespaces(value, start, lengt
* Adds metadata about the meaning of a sample value.
* This is the {@code <gmd:rangeElementDescription>} element in XML.
*
- * <p><b>Note:</b> ISO 19115 range elements are approximatively equivalent to
+ * <p><b>Note:</b> ISO 19115 range elements are approximately equivalent to
* {@code org.apache.sis.coverage.Category} in the {@code sis-coverage} module.</p>
*
* @param variable the netCDF variable.
diff --git a/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/DBFConnection.java b/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/DBFConnection.java
index 60be9ba..019e7f3 100644
--- a/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/DBFConnection.java
+++ b/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/DBFConnection.java
@@ -79,7 +79,7 @@ public class DBFConnection extends AbstractConnection {
try {
// Check if all the underlying connections that has been opened with this connection has been closed.
- // If not, we log a warning to help the developper.
+ // If not, we log a warning to help the developer.
if (this.openedStatements.size() > 0) {
log(Level.WARNING, "log.statements_left_opened", this.openedStatements.size(), this.openedStatements.stream().map(DBFStatement::toString).collect(Collectors.joining(", ")));
}
diff --git a/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/resultset/AbstractResultSet.java b/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/resultset/AbstractResultSet.java
index 2c332ed..5e39543 100644
--- a/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/resultset/AbstractResultSet.java
+++ b/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/resultset/AbstractResultSet.java
@@ -63,7 +63,7 @@ import org.apache.sis.internal.shapefile.jdbc.AbstractJDBC;
*/
public abstract class AbstractResultSet extends AbstractJDBC implements ResultSet {
/*
- * Note to developpers : this class only offers methods that return unsupported exceptions : methods that are not implemented anywhere.
+ * Note to developers : this class only offers methods that return unsupported exceptions : methods that are not implemented anywhere.
* if any implementation is done, even a redirection to another class or method, please move the implementation on the next subclass.
*/
diff --git a/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/statement/DBFStatement.java b/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/statement/DBFStatement.java
index 7d556b2..2a8cf36 100644
--- a/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/statement/DBFStatement.java
+++ b/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/statement/DBFStatement.java
@@ -154,7 +154,7 @@ public class DBFStatement extends AbstractStatement {
if (this.currentResultSet != null) {
// Inform that this ResultSet could have been closed but that we are handling this :
- // Some developpers may expect their ResultSet should have been closed before in their program.
+ // Some developers may expect their ResultSet should have been closed before in their program.
log(Level.FINE, "log.closing_underlying_resultset", this.currentResultSet);
this.currentResultSet.close();
@@ -162,7 +162,7 @@ public class DBFStatement extends AbstractStatement {
}
// Check if all the underlying ResultSets that has been opened with this statement has been closed.
- // If not, we log a warning to help the developper.
+ // If not, we log a warning to help the developer.
if (this.openedResultSets.size() > 0) {
log(Level.WARNING, "log.resultsets_left_opened", this.openedResultSets.size(), this.openedResultSets.stream().map(DBFResultSet::toString).collect(Collectors.joining(", ")));
}
diff --git a/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/MetadataBuilder.java b/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/MetadataBuilder.java
index f7bffd2..82070b6 100644
--- a/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/MetadataBuilder.java
+++ b/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/MetadataBuilder.java
@@ -2302,7 +2302,7 @@ parse: for (int i = 0; i < length;) {
* </ul>
*
* <div class="note"><b>Note:</b>
- * ISO 19115 range elements are approximatively equivalent to
+ * ISO 19115 range elements are approximately equivalent to
* {@code org.apache.sis.coverage.Category} in the {@code sis-coverage} module.</div>
*
* @param name designation associated with a set of range elements, or {@code null} if none.