]> source.dussan.org Git - aspectj.git/commitdiff
Bug 150487 "Tracing and Logging Framework" (remove redundant TraceFactory.isEnabled...
authormwebster <mwebster>
Fri, 28 Jul 2006 12:55:20 +0000 (12:55 +0000)
committermwebster <mwebster>
Fri, 28 Jul 2006 12:55:20 +0000 (12:55 +0000)
weaver/src/org/aspectj/weaver/tools/TraceFactory.java
weaver/testsrc/org/aspectj/weaver/TraceFactoryTest.java

index 5e194ea6c88b99dafed803753da2d2ad1e93b209..beaaf862afb3334139a3121bbe29dd2d6afa42fe 100644 (file)
@@ -23,10 +23,6 @@ public abstract class TraceFactory {
     public Trace getTrace (Class clazz) {
        return instance.getTrace(clazz);
     }
-
-       public boolean isEnabled() {
-               return true;
-       }
     
     public static TraceFactory getTraceFactory () {
        return instance;
index e755fa2778e89d469f8780d0207f00cdd4a13f91..24ec997fedbabdc459e621fef2aea5e6d448dc31 100644 (file)
@@ -28,9 +28,4 @@ public class TraceFactoryTest extends TestCase {
                assertNotNull(trace);
        }
 
-       public void testIsEnabled() {
-               TraceFactory traceFactory = TraceFactory.getTraceFactory();
-               assertTrue(traceFactory.isEnabled());
-       }
-
 }