openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1601265 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/DecoratorBeanBuilder.java
Date Sun, 08 Jun 2014 21:43:39 GMT
Author: struberg
Date: Sun Jun  8 21:43:39 2014
New Revision: 1601265

URL: http://svn.apache.org/r1601265
Log:
remove unnecessary log level condition

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/DecoratorBeanBuilder.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/DecoratorBeanBuilder.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/DecoratorBeanBuilder.java?rev=1601265&r1=1601264&r2=1601265&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/DecoratorBeanBuilder.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/component/creation/DecoratorBeanBuilder.java
Sun Jun  8 21:43:39 2014
@@ -113,26 +113,17 @@ public class DecoratorBeanBuilder<T>
     {
         if (beanAttributes.getScope() != Dependent.class)
         {
-            if(logger.isLoggable(Level.WARNING))
-            {
-                logger.log(Level.WARNING, OWBLogConst.WARN_0005_1, annotatedType.getJavaClass().getName());
-            }
+            logger.log(Level.WARNING, OWBLogConst.WARN_0005_1, annotatedType.getJavaClass().getName());
         }
 
         if (beanAttributes.getName() != null)
         {
-            if(logger.isLoggable(Level.WARNING))
-            {
-                logger.log(Level.WARNING, OWBLogConst.WARN_0005_2, annotatedType.getJavaClass().getName());
-            }
+            logger.log(Level.WARNING, OWBLogConst.WARN_0005_2, annotatedType.getJavaClass().getName());
         }
 
         if (annotatedType.isAnnotationPresent(Alternative.class))
         {
-            if(logger.isLoggable(Level.WARNING))
-            {
-                logger.log(Level.WARNING, OWBLogConst.WARN_0005_3, annotatedType.getJavaClass().getName());
-            }
+            logger.log(Level.WARNING, OWBLogConst.WARN_0005_3, annotatedType.getJavaClass().getName());
         }
 
 



Mime
View raw message