Repository: logging-log4j2 Updated Branches: refs/heads/master cb1755760 -> 0a60d1414
Remove unused ivar. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/0a60d141 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/0a60d141 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/0a60d141 Branch: refs/heads/master Commit: 0a60d1414c7785381d096b86bf5c3175025b8692 Parents: cb17557 Author: Gary Gregory <[email protected]> Authored: Fri Jan 16 14:36:09 2015 -0500 Committer: Gary Gregory <[email protected]> Committed: Fri Jan 16 14:36:09 2015 -0500 ---------------------------------------------------------------------- .../java/org/apache/logging/log4j/core/FileConfigTest.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/0a60d141/log4j-core/src/test/java/org/apache/logging/log4j/core/FileConfigTest.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/test/java/org/apache/logging/log4j/core/FileConfigTest.java b/log4j-core/src/test/java/org/apache/logging/log4j/core/FileConfigTest.java index e50a3b7..c27c214 100644 --- a/log4j-core/src/test/java/org/apache/logging/log4j/core/FileConfigTest.java +++ b/log4j-core/src/test/java/org/apache/logging/log4j/core/FileConfigTest.java @@ -16,24 +16,22 @@ */ package org.apache.logging.log4j.core; +import static org.junit.Assert.assertNotSame; + import java.io.File; import org.apache.logging.log4j.core.config.Configuration; import org.apache.logging.log4j.junit.InitialLoggerContext; -import org.apache.logging.log4j.test.appender.ListAppender; import org.junit.Before; import org.junit.ClassRule; import org.junit.Test; -import static org.junit.Assert.*; - /** * */ public class FileConfigTest { private static final String CONFIG = "target/test-classes/log4j-test2.xml"; - private ListAppender app; @ClassRule public static InitialLoggerContext context = new InitialLoggerContext(CONFIG); @@ -42,7 +40,7 @@ public class FileConfigTest { @Before public void before() { - app = context.getListAppender("List").clear(); + context.getListAppender("List").clear(); } @Test
