sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1416115 - in /sis/branches/JDK7/sis-utility/src: main/java/org/apache/sis/measure/Units.java test/java/org/apache/sis/util/UtilitiesTest.java
Date Sun, 02 Dec 2012 07:04:23 GMT
Author: desruisseaux
Date: Sun Dec  2 07:04:23 2012
New Revision: 1416115

URL: http://svn.apache.org/viewvc?rev=1416115&view=rev
Log:
Minor javadoc change, and added the missing "extends TestCase" in test code.

Modified:
    sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/measure/Units.java
    sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/UtilitiesTest.java

Modified: sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/measure/Units.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/measure/Units.java?rev=1416115&r1=1416114&r2=1416115&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/measure/Units.java (original)
+++ sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/measure/Units.java Sun Dec
 2 07:04:23 2012
@@ -396,8 +396,8 @@ public final class Units extends Static 
      * handled especially is implementation-dependent and may change in future SIS versions.
      *
      * {@section Parsing authority codes}
-     * As a special case, if the given {@code uom} arguments is of the form {@code "EPSG:xxx"}
-     * (ignoring case and whitespaces), then {@code "xxx"} is parsed as an integer and forwarded
+     * As a special case, if the given {@code uom} arguments is of the form {@code "EPSG:####"}
+     * (ignoring case and whitespaces), then {@code "####"} is parsed as an integer and forwarded
      * to the {@link #valueOfEPSG(int)} method.
      *
      * {@section NetCDF unit symbols}

Modified: sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/UtilitiesTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/UtilitiesTest.java?rev=1416115&r1=1416114&r2=1416115&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/UtilitiesTest.java (original)
+++ sis/branches/JDK7/sis-utility/src/test/java/org/apache/sis/util/UtilitiesTest.java Sun
Dec  2 07:04:23 2012
@@ -19,6 +19,7 @@ package org.apache.sis.util;
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.LinkedHashSet;
+import org.apache.sis.test.TestCase;
 
 import org.junit.*;
 import static org.junit.Assert.*;
@@ -32,7 +33,7 @@ import static org.junit.Assert.*;
  * @version 0.3
  * @module
  */
-public final strictfp class UtilitiesTest {
+public final strictfp class UtilitiesTest extends TestCase {
     /**
      * Tests {@link Utilities#deepEquals(Object, Object, ComparisonMode)}.
      */



Mime
View raw message