commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r1077822 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/Range.java
Date Fri, 04 Mar 2011 06:09:14 GMT
Author: bayard
Date: Fri Mar  4 06:09:14 2011
New Revision: 1077822

URL: http://svn.apache.org/viewvc?rev=1077822&view=rev
Log:
Adding note on thread safety and fixing a piece of javadoc that still talked about numbers

Modified:
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/Range.java

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/Range.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/Range.java?rev=1077822&r1=1077821&r2=1077822&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/Range.java (original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/Range.java Fri Mar  4
06:09:14 2011
@@ -20,11 +20,11 @@ import java.io.Serializable;
 import java.util.Comparator;
 
 /**
- * <p><code>Range</code> represents an immutable range of numbers of the
same type.</p>
+ * <p><code>Range</code> represents an immutable range of comparables of
the same type.</p>
  * <p>The objects need to either be implementations of <code>java.lang.Comparable</code>
  * or you need to supply a <code>java.util.Comparator</code>. </p>
  * 
- * <p>#ThreadSafe#</p>
+ * <p>#ThreadSafe# if the comparables are thread-safe</p>
  * @author Apache Software Foundation
  * @since 3.0
  * @version $Id$



Mime
View raw message