logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1516473 - /logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/db/jpa/converter/MessageAttributeConverterTest.java
Date Thu, 22 Aug 2013 14:56:33 GMT
Author: ggregory
Date: Thu Aug 22 14:56:33 2013
New Revision: 1516473

URL: http://svn.apache.org/r1516473
Log:
Consistently use "LOGGER" for the StatusLogger when used as a static final.

Modified:
    logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/db/jpa/converter/MessageAttributeConverterTest.java

Modified: logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/db/jpa/converter/MessageAttributeConverterTest.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/db/jpa/converter/MessageAttributeConverterTest.java?rev=1516473&r1=1516472&r2=1516473&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/db/jpa/converter/MessageAttributeConverterTest.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/test/java/org/apache/logging/log4j/core/appender/db/jpa/converter/MessageAttributeConverterTest.java
Thu Aug 22 14:56:33 2013
@@ -25,7 +25,7 @@ import org.junit.Test;
 import static org.junit.Assert.*;
 
 public class MessageAttributeConverterTest {
-    private static final StatusLogger log = StatusLogger.getLogger();
+    private static final StatusLogger LOGGER = StatusLogger.getLogger();
 
     private MessageAttributeConverter converter;
 
@@ -41,7 +41,7 @@ public class MessageAttributeConverterTe
 
     @Test
     public void testConvert01() {
-        final Message message = log.getMessageFactory().newMessage("Message #{} said [{}].",
3, "Hello");
+        final Message message = LOGGER.getMessageFactory().newMessage("Message #{} said [{}].",
3, "Hello");
 
         final String converted = this.converter.convertToDatabaseColumn(message);
 



Mime
View raw message