sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1449551 - in /sis/branches/JDK7/sis-utility/src: main/java/org/apache/sis/xml/Namespaces.java test/java/org/apache/sis/util/collection/RangeSetTest.java
Date Sun, 24 Feb 2013 21:36:01 GMT
Author: desruisseaux
Date: Sun Feb 24 21:36:01 2013
New Revision: 1449551

URL: http://svn.apache.org/r1449551
Log:
Minor documentation updates.

Modified:
    sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/xml/Namespaces.java
    sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/collection/RangeSetTest.java

Modified: sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/xml/Namespaces.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/xml/Namespaces.java?rev=1449551&r1=1449550&r2=1449551&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/xml/Namespaces.java (original)
+++ sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/xml/Namespaces.java Sun Feb
24 21:36:01 2013
@@ -43,6 +43,7 @@ public final class Namespaces extends St
 
     /**
      * The <code>{@value}</code> URL.
+     * The usual prefix for this namespace is {@code "gco"}.
      *
      * @category ISO
      */
@@ -50,6 +51,7 @@ public final class Namespaces extends St
 
     /**
      * The <code>{@value}</code> URL.
+     * The usual prefix for this namespace is {@code "gfc"}.
      *
      * @category ISO
      */
@@ -57,6 +59,7 @@ public final class Namespaces extends St
 
     /**
      * The <code>{@value}</code> URL.
+     * The usual prefix for this namespace is {@code "gmd"}.
      *
      * @category ISO
      */
@@ -64,6 +67,7 @@ public final class Namespaces extends St
 
     /**
      * The <code>{@value}</code> URL.
+     * The usual prefix for this namespace is {@code "gmi"}.
      *
      * @category ISO
      */
@@ -71,6 +75,7 @@ public final class Namespaces extends St
 
     /**
      * The <code>{@value}</code> URL.
+     * The usual prefix for this namespace is {@code "gts"}.
      *
      * @category ISO
      */
@@ -78,6 +83,7 @@ public final class Namespaces extends St
 
     /**
      * The <code>{@value}</code> URL.
+     * The usual prefix for this namespace is {@code "gmx"}.
      *
      * @category ISO
      */
@@ -85,6 +91,7 @@ public final class Namespaces extends St
 
     /**
      * The <code>{@value}</code> URL.
+     * The usual prefix for this namespace is {@code "gml"}.
      *
      * @category OGC
      */
@@ -92,6 +99,7 @@ public final class Namespaces extends St
 
     /**
      * The <code>{@value}</code> URL.
+     * The usual prefix for this namespace is {@code "csw"}.
      *
      * @category OGC
      */
@@ -108,6 +116,7 @@ public final class Namespaces extends St
 
     /**
      * The <code>{@value}</code> URL.
+     * The usual prefix for this namespace is {@code "xlink"}.
      *
      * @category W3C
      */
@@ -115,6 +124,7 @@ public final class Namespaces extends St
 
     /**
      * The <code>{@value}</code> URL.
+     * The usual prefix for this namespace is {@code "fra"}.
      *
      * @category Profiles
      */

Modified: sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/collection/RangeSetTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/collection/RangeSetTest.java?rev=1449551&r1=1449550&r2=1449551&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/collection/RangeSetTest.java
(original)
+++ sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/collection/RangeSetTest.java
Sun Feb 24 21:36:01 2013
@@ -60,16 +60,16 @@ public final strictfp class RangeSetTest
     /**
      * Verifies the value of {@link RangeSet#contains(Range, boolean)}.
      *
-     * @param ranges  The range set to test.
-     * @param range   The range to check for inclusion.
-     * @param exact   The expected value in exact mode.
-     * @param lenient The expected value in non-exact mode.
+     * @param ranges   The range set to test.
+     * @param range    The range to check for inclusion.
+     * @param exact    The expected value in exact mode.
+     * @param included The expected value in non-exact mode.
      */
     private static <E extends Comparable<? super E>> void checkContains(final
RangeSet<E> ranges,
-            final Range<E> range, final boolean exact, final boolean lenient)
+            final Range<E> range, final boolean exact, final boolean included)
     {
-        assertEquals("RangeSet.contains(…, true)",  exact,  ranges.contains(range, true));
-        assertEquals("RangeSet.contains(…, false)", lenient, ranges.contains(range));
+        assertEquals("RangeSet.contains(…, true)",  exact,    ranges.contains(range,
true));
+        assertEquals("RangeSet.contains(…, false)", included, ranges.contains(range));
     }
 
     /**



Mime
View raw message