onami-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marcospera...@apache.org
Subject svn commit: r1435872 - /incubator/onami/trunk/test/src/main/java/org/apache/onami/test/handler/GuiceProvidedModuleHandler.java
Date Sun, 20 Jan 2013 16:13:42 GMT
Author: marcosperanza
Date: Sun Jan 20 16:13:42 2013
New Revision: 1435872

URL: http://svn.apache.org/viewvc?rev=1435872&view=rev
Log:
LOGGER must be  uppercase

Modified:
    incubator/onami/trunk/test/src/main/java/org/apache/onami/test/handler/GuiceProvidedModuleHandler.java

Modified: incubator/onami/trunk/test/src/main/java/org/apache/onami/test/handler/GuiceProvidedModuleHandler.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/test/src/main/java/org/apache/onami/test/handler/GuiceProvidedModuleHandler.java?rev=1435872&r1=1435871&r2=1435872&view=diff
==============================================================================
--- incubator/onami/trunk/test/src/main/java/org/apache/onami/test/handler/GuiceProvidedModuleHandler.java
(original)
+++ incubator/onami/trunk/test/src/main/java/org/apache/onami/test/handler/GuiceProvidedModuleHandler.java
Sun Jan 20 16:13:42 2013
@@ -46,7 +46,7 @@ public final class GuiceProvidedModuleHa
     implements MethodHandler<GuiceProvidedModules>
 {
 
-    private static final Logger logger = Logger.getLogger( GuiceProvidedModuleHandler.class.getName()
);
+    private static final Logger LOGGER = Logger.getLogger( GuiceProvidedModuleHandler.class.getName()
);
 
     private final List<Module> modules = new ArrayList<Module>();
 
@@ -67,9 +67,9 @@ public final class GuiceProvidedModuleHa
     {
         final Class<?> returnType = method.getReturnType();
 
-        if ( logger.isLoggable( Level.FINER ) )
+        if ( LOGGER.isLoggable( Level.FINER ) )
         {
-            logger.finer( format( "  Found %s annotated method, checking if return type '%s'
is one of %s ( %s | Iterable<%s> | %s[] )",
+            LOGGER.finer( format( "  Found %s annotated method, checking if return type '%s'
is one of %s ( %s | Iterable<%s> | %s[] )",
                                   GuiceProvidedModules.class.getSimpleName(),
                                   returnType.getName(),
                                   Module.class.getName(),
@@ -111,9 +111,9 @@ public final class GuiceProvidedModuleHa
                                                       Module.class.getName() ) );
             }
 
-            if ( logger.isLoggable( Level.FINER ) )
+            if ( LOGGER.isLoggable( Level.FINER ) )
             {
-                logger.finer( "  Invoked method: " + method.toGenericString() );
+                LOGGER.finer( "  Invoked method: " + method.toGenericString() );
             }
         }
         catch ( Exception e )



Mime
View raw message