Return-Path: X-Original-To: apmail-logging-commits-archive@minotaur.apache.org Delivered-To: apmail-logging-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6679910DDF for ; Thu, 22 Aug 2013 14:56:55 +0000 (UTC) Received: (qmail 51425 invoked by uid 500); 22 Aug 2013 14:56:54 -0000 Delivered-To: apmail-logging-commits-archive@logging.apache.org Received: (qmail 51406 invoked by uid 500); 22 Aug 2013 14:56:54 -0000 Mailing-List: contact commits-help@logging.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@logging.apache.org Delivered-To: mailing list commits@logging.apache.org Received: (qmail 51391 invoked by uid 99); 22 Aug 2013 14:56:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Aug 2013 14:56:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Aug 2013 14:56:53 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 95A7E2388831; Thu, 22 Aug 2013 14:56:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@logging.apache.org From: ggregory@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20130822145633.95A7E2388831@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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);