openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r982740 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansUtil.java
Date Thu, 05 Aug 2010 19:24:58 GMT
Author: dblevins
Date: Thu Aug  5 19:24:58 2010
New Revision: 982740

URL: http://svn.apache.org/viewvc?rev=982740&view=rev
Log:
Changed static variable name to match checkstyle requirements

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansUtil.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansUtil.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansUtil.java?rev=982740&r1=982739&r2=982740&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansUtil.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/WebBeansUtil.java
Thu Aug  5 19:24:58 2010
@@ -183,7 +183,7 @@ public final class WebBeansUtil
      * Enforcing that interceptor callbacks should not be
      * able to throw checked exceptions is configurable
      */
-    public static boolean ENFORCE_CHECKED_EXCEPTION = true;
+    public static boolean enforceCheckedException = true;
 
     // No instantiate
     private WebBeansUtil()
@@ -916,7 +916,7 @@ public final class WebBeansUtil
                             + " must return void type");
                 }
 
-                if (ENFORCE_CHECKED_EXCEPTION && ClassUtil.isMethodHasCheckedException(method))
+                if (enforceCheckedException && ClassUtil.isMethodHasCheckedException(method))
                 {
                     throw new WebBeansConfigurationException("@" + commonAnnotation.getSimpleName()
                             + " annotated method : " + method.getName() + " in class : "
+ clazz.getName()
@@ -1002,7 +1002,7 @@ public final class WebBeansUtil
                             + " must return void type");
                 }
 
-                if (ENFORCE_CHECKED_EXCEPTION && ClassUtil.isMethodHasCheckedException(method))
+                if (enforceCheckedException && ClassUtil.isMethodHasCheckedException(method))
                 {
                     throw new WebBeansConfigurationException("@" + commonAnnotation.getSimpleName()
                             + " annotated method : " + method.getName() + " in class : "
+ clazz.getName()



Mime
View raw message