sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1449970 - /sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/util/collection/CodeListSet.java
Date Mon, 25 Feb 2013 23:46:44 GMT
Author: desruisseaux
Date: Mon Feb 25 23:46:44 2013
New Revision: 1449970

URL: http://svn.apache.org/r1449970
Log:
Forgot to complete an implementation note...

Modified:
    sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/util/collection/CodeListSet.java

Modified: sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/util/collection/CodeListSet.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/util/collection/CodeListSet.java?rev=1449970&r1=1449969&r2=1449970&view=diff
==============================================================================
--- sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/util/collection/CodeListSet.java
[UTF-8] (original)
+++ sis/branches/JDK7/sis-utility/src/main/java/org/apache/sis/util/collection/CodeListSet.java
[UTF-8] Mon Feb 25 23:46:44 2013
@@ -35,7 +35,10 @@ import org.apache.sis.util.resources.Err
  * The current implementation is restricted to code list having a maximum of 64 values.
  * This restriction may be removed in a future Apache SIS version.
  *
- * @note
+ * {@note The standard <code>EnumSet</code> class uses different implementations
depending on
+ *        whether the enumeration contains more or less than 64 elements. We can not apply
the
+ *        same strategy for <code>CodeListSet</code>, because new code list elements
can be created
+ *        at runtime. Consequently this implementation needs to be able to handle every cases.}
  *
  * @param <E> The type of code list elements in the set.
  *



Mime
View raw message