onami-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1435688 - /incubator/onami/trunk/test/src/main/java/org/apache/onami/test/handler/MockFrameworkHandler.java
Date Sat, 19 Jan 2013 20:53:27 GMT
Author: simonetripodi
Date: Sat Jan 19 20:53:26 2013
New Revision: 1435688

URL: http://svn.apache.org/viewvc?rev=1435688&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/handler/MockFrameworkHandler.java

Modified: incubator/onami/trunk/test/src/main/java/org/apache/onami/test/handler/MockFrameworkHandler.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/test/src/main/java/org/apache/onami/test/handler/MockFrameworkHandler.java?rev=1435688&r1=1435687&r2=1435688&view=diff
==============================================================================
--- incubator/onami/trunk/test/src/main/java/org/apache/onami/test/handler/MockFrameworkHandler.java
(original)
+++ incubator/onami/trunk/test/src/main/java/org/apache/onami/test/handler/MockFrameworkHandler.java
Sat Jan 19 20:53:26 2013
@@ -38,7 +38,7 @@ public final class MockFrameworkHandler
     implements ClassHandler<MockFramework>
 {
 
-    final static private Logger logger = Logger.getLogger( MockFrameworkHandler.class.getName()
);
+    final static private Logger LOGGER = Logger.getLogger( MockFrameworkHandler.class.getName()
);
 
     private MockType mockType;
 
@@ -62,9 +62,9 @@ public final class MockFrameworkHandler
                 + mockType + " now found: " + annotation.value() + "]" );
         }
 
-        if ( logger.isLoggable( Level.FINER ) )
+        if ( LOGGER.isLoggable( Level.FINER ) )
         {
-            logger.finer( "  Found MockFramework: " + annotation.value() );
+            LOGGER.finer( "  Found MockFramework: " + annotation.value() );
         }
 
         mockType = annotation.value();



Mime
View raw message