commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r918836 - in /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3: Pair.java SerializationException.java
Date Thu, 04 Mar 2010 03:12:36 GMT
Author: sebb
Date: Thu Mar  4 03:12:36 2010
New Revision: 918836

URL: http://svn.apache.org/viewvc?rev=918836&view=rev
Log:
Fix threadsafety comments

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

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/Pair.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/Pair.java?rev=918836&r1=918835&r2=918836&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/Pair.java (original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/Pair.java Thu Mar  4
03:12:36 2010
@@ -23,7 +23,7 @@
 /**
  * A basic immutable Object pair.
  *
- * <p>#ThreadSafe#
+ * <p>#ThreadSafe# if the objects are threadsafe</p>
  * @since Lang 3.0
  * @author Matt Benson
  */

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/SerializationException.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/SerializationException.java?rev=918836&r1=918835&r2=918836&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/SerializationException.java
(original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/SerializationException.java
Thu Mar  4 03:12:36 2010
@@ -21,7 +21,7 @@
  *
  * <p>The original error is wrapped within this one.</p>
  *
- * <p>#ThreadSafe#
+ * <p>#NotThreadSafe# because Throwable is not threadsafe</p>
  * @author Apache Software Foundation
  * @since 1.0
  * @version $Id$



Mime
View raw message