onami-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1435841 - /incubator/onami/trunk/test/src/main/java/org/apache/onami/test/reflection/ClassVisitor.java
Date Sun, 20 Jan 2013 13:48:12 GMT
Author: simonetripodi
Date: Sun Jan 20 13:48:12 2013
New Revision: 1435841

URL: http://svn.apache.org/viewvc?rev=1435841&view=rev
Log:
fixed "Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'." checkstyle rule

Modified:
    incubator/onami/trunk/test/src/main/java/org/apache/onami/test/reflection/ClassVisitor.java

Modified: incubator/onami/trunk/test/src/main/java/org/apache/onami/test/reflection/ClassVisitor.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/test/src/main/java/org/apache/onami/test/reflection/ClassVisitor.java?rev=1435841&r1=1435840&r2=1435841&view=diff
==============================================================================
--- incubator/onami/trunk/test/src/main/java/org/apache/onami/test/reflection/ClassVisitor.java
(original)
+++ incubator/onami/trunk/test/src/main/java/org/apache/onami/test/reflection/ClassVisitor.java
Sun Jan 20 13:48:12 2013
@@ -42,7 +42,7 @@ public final class ClassVisitor
 
     private static final String JAVA_PACKAGE = "java";
 
-    private static final Logger logger = Logger.getLogger( ClassVisitor.class.getName() );
+    private static final Logger LOGGER = Logger.getLogger( ClassVisitor.class.getName() );
 
     private final Multimap<Class<? extends Annotation>, AnnotationHandler<? extends
Annotation, ? extends AnnotatedElement>> handlers =
         ArrayListMultimap.create();
@@ -59,9 +59,9 @@ public final class ClassVisitor
     {
         checkArgument( type != null, "Type to be visited cannot be null" );
 
-        if ( logger.isLoggable( Level.FINER ) )
+        if ( LOGGER.isLoggable( Level.FINER ) )
         {
-            logger.finer( "  Visit class: " + type );
+            LOGGER.finer( "  Visit class: " + type );
         }
 
         if ( type.getPackage() != null && type.getPackage().getName().startsWith(
JAVA_PACKAGE ) )



Mime
View raw message