You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2009/08/25 00:57:52 UTC

svn commit: r807425 - in /commons/proper/lang/trunk: pom.xml src/java/org/apache/commons/lang/exception/ExceptionUtils.java

Author: sebb
Date: Mon Aug 24 22:57:52 2009
New Revision: 807425

URL: http://svn.apache.org/viewvc?rev=807425&view=rev
Log:
Remove JCIP annotations

Modified:
    commons/proper/lang/trunk/pom.xml
    commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java

Modified: commons/proper/lang/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/pom.xml?rev=807425&r1=807424&r2=807425&view=diff
==============================================================================
--- commons/proper/lang/trunk/pom.xml (original)
+++ commons/proper/lang/trunk/pom.xml Mon Aug 24 22:57:52 2009
@@ -402,16 +402,6 @@
       <version>3.8.2</version>
       <scope>test</scope>
     </dependency>
-    <dependency>
-        <groupId>net.jcip</groupId>
-        <artifactId>jcip-annotations</artifactId>
-        <version>1.0</version>
-        <optional>true</optional>
-        <!-- 
-            Annotations are only _required_ during a build
-            They are not needed at run-time
-         -->
-    </dependency> 
   </dependencies> 
 
   <properties>

Modified: commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java?rev=807425&r1=807424&r2=807425&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java (original)
+++ commons/proper/lang/trunk/src/java/org/apache/commons/lang/exception/ExceptionUtils.java Mon Aug 24 22:57:52 2009
@@ -31,8 +31,8 @@
 import java.util.Set;
 import java.util.StringTokenizer;
 
-import net.jcip.annotations.GuardedBy;
-import net.jcip.annotations.ThreadSafe;
+//import net.jcip.annotations.GuardedBy;
+//import net.jcip.annotations.ThreadSafe;
 
 import org.apache.commons.lang.ArrayUtils;
 import org.apache.commons.lang.ClassUtils;
@@ -51,7 +51,7 @@
  * @since 1.0
  * @version $Id$
  */
-@ThreadSafe
+//@ThreadSafe
 public class ExceptionUtils {
     
     /**
@@ -68,7 +68,7 @@
     /**
      * <p>The names of methods commonly used to access a wrapped exception.</p>
      */
-    @GuardedBy("CAUSE_METHOD_NAMES_LOCK")
+//    @GuardedBy("CAUSE_METHOD_NAMES_LOCK")
     private static String[] CAUSE_METHOD_NAMES = {
         "getCause",
         "getNextException",