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 2012/12/18 03:32:49 UTC
svn commit: r1423255 - in /sis/branches/JDK7:
sis-referencing/src/test/java/org/apache/sis/geometry/
sis-utility/src/main/java/org/apache/sis/math/
sis-utility/src/main/java/org/apache/sis/measure/
sis-utility/src/main/java/org/apache/sis/util/ sis-uti...
Author: desruisseaux
Date: Tue Dec 18 02:32:45 2012
New Revision: 1423255
URL: http://svn.apache.org/viewvc?rev=1423255&view=rev
Log:
Minor fix in English sentences.
Modified:
sis/branches/JDK7/sis-referencing/src/test/java/org/apache/sis/geometry/GeneralEnvelopeTest.java
sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/math/MathFunctions.java
sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/measure/AngleFormat.java
sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/util/LenientComparable.java
sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/test/Assert.java
Modified: sis/branches/JDK7/sis-referencing/src/test/java/org/apache/sis/geometry/GeneralEnvelopeTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-referencing/src/test/java/org/apache/sis/geometry/GeneralEnvelopeTest.java?rev=1423255&r1=1423254&r2=1423255&view=diff
==============================================================================
--- sis/branches/JDK7/sis-referencing/src/test/java/org/apache/sis/geometry/GeneralEnvelopeTest.java (original)
+++ sis/branches/JDK7/sis-referencing/src/test/java/org/apache/sis/geometry/GeneralEnvelopeTest.java Tue Dec 18 02:32:45 2012
@@ -434,7 +434,7 @@ public final strictfp class GeneralEnvel
assertFalse(e1.getLowerCorner().equals(e1.getUpperCorner()));
/*
* Creates a new envelope initialized with the same
- * coordinate values. The two envelope should be equals.
+ * coordinate values. The two envelope shall be equal.
*/
final GeneralEnvelope e2 = new GeneralEnvelope(e1);
assertPositionEquals(e1.getLowerCorner(), e2.getLowerCorner());
@@ -447,7 +447,7 @@ public final strictfp class GeneralEnvel
assertTrue (e1.equals(e2, EPS, false));
assertEquals (e1.hashCode(), e2.hashCode());
/*
- * Offset slightly some coordinate value. Should not be equals anymore,
+ * Offset slightly some coordinate value. Should not be equal anymore,
* except when comparing with a tolerance value.
*/
e2.setRange(2, e2.getLower(2) + 3E-5, e2.getUpper(2) - 3E-5);
Modified: sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/math/MathFunctions.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/math/MathFunctions.java?rev=1423255&r1=1423254&r2=1423255&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/math/MathFunctions.java (original)
+++ sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/math/MathFunctions.java Tue Dec 18 02:32:45 2012
@@ -200,7 +200,7 @@ public final class MathFunctions extends
* Returns the number of fraction digits needed for formatting in base 10 numbers of the given
* accuracy. If the {@code strict} argument is {@code true}, then for any given {@code accuracy}
* this method returns a value <var>n</var> such as the difference between adjacent numbers
- * formatted in base 10 with <var>n</var> fraction digits will always be equals or smaller
+ * formatted in base 10 with <var>n</var> fraction digits will always be equal or smaller
* than {@code accuracy}. Examples:
*
* <ul>
Modified: sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/measure/AngleFormat.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/measure/AngleFormat.java?rev=1423255&r1=1423254&r2=1423255&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/measure/AngleFormat.java (original)
+++ sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/measure/AngleFormat.java Tue Dec 18 02:32:45 2012
@@ -169,7 +169,7 @@ public class AngleFormat extends Format
/**
* Symbols for degrees (0), minutes (1), seconds (2) and optional fraction digits (3).
- * The index of each symbol shall be equals to the corresponding {@code *_FIELD} constant.
+ * The index of each symbol shall be equal to the corresponding {@code *_FIELD} constant.
*/
private static final char[] SYMBOLS = {'D', 'M', 'S', '#'};
Modified: sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/util/LenientComparable.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/util/LenientComparable.java?rev=1423255&r1=1423254&r2=1423255&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/util/LenientComparable.java (original)
+++ sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/util/LenientComparable.java Tue Dec 18 02:32:45 2012
@@ -124,7 +124,7 @@ public interface LenientComparable {
* special mode for figuring out why two objects expected to be equal are not.</li>
* </ol>
*
- * Note that {@code this.equals(other, mode)} is <strong>not</strong> guaranteed to be equals
+ * Note that {@code this.equals(other, mode)} is <strong>not</strong> guaranteed to be equal
* to {@code other.equals(this, mode)}. In particular, the {@code BY_CONTRACT} level and all
* levels below it will typically compare only the properties known to {@code this} instance,
* ignoring any properties that may be known only by the {@code other}Â instance.
Modified: sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/test/Assert.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/test/Assert.java?rev=1423255&r1=1423254&r2=1423255&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/test/Assert.java (original)
+++ sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/test/Assert.java Tue Dec 18 02:32:45 2012
@@ -96,7 +96,7 @@ public strictfp class Assert extends org
public static void assertEqualsIgnoreMetadata(final Object expected, final Object actual) {
assertTrue("Shall be approximatively equals", Utilities.deepEquals(expected, actual, ComparisonMode.DEBUG));
assertTrue("DEBUG inconsistent with APPROXIMATIVE", Utilities.deepEquals(expected, actual, ComparisonMode.APPROXIMATIVE));
- assertTrue("Shall be equals, ignoring metadata", Utilities.deepEquals(expected, actual, ComparisonMode.IGNORE_METADATA));
+ assertTrue("Shall be equal, ignoring metadata", Utilities.deepEquals(expected, actual, ComparisonMode.IGNORE_METADATA));
}
/**