From 35b1d6c80ebb1e4bf364745ded238fa1a5b4409f Mon Sep 17 00:00:00 2001 From: Simon Kitching Date: Wed, 6 Jul 2005 12:07:40 +0000 Subject: [PATCH] Remove unused constructor, and clear LogFactory.factories cache before each test for cleanliness. git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@209450 13f79535-47bb-0310-9956-ffa450edef68 --- .../logging/simple/DefaultConfigTestCase.java | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/test/org/apache/commons/logging/simple/DefaultConfigTestCase.java b/src/test/org/apache/commons/logging/simple/DefaultConfigTestCase.java index 99ae994..b0d4e81 100644 --- a/src/test/org/apache/commons/logging/simple/DefaultConfigTestCase.java +++ b/src/test/org/apache/commons/logging/simple/DefaultConfigTestCase.java @@ -42,19 +42,6 @@ import org.apache.commons.logging.impl.SimpleLog; public class DefaultConfigTestCase extends TestCase { - // ----------------------------------------------------------- Constructors - - - /** - *

Construct a new instance of this test case.

- * - * @param name Name of the test case - */ - public DefaultConfigTestCase(String name) { - super(name); - } - - // ----------------------------------------------------- Instance Variables @@ -77,6 +64,7 @@ public class DefaultConfigTestCase extends TestCase { * Set up instance variables required by this test case. */ public void setUp() throws Exception { + LogFactory.releaseAll(); setUpFactory(); setUpLog("TestLogger"); }