From d692fc2a7de7acd11233efdab8b5bbeb98777b44 Mon Sep 17 00:00:00 2001 From: mwebster Date: Fri, 28 Jul 2006 12:55:20 +0000 Subject: Bug 150487 "Tracing and Logging Framework" (remove redundant TraceFactory.isEnabled() method and test) --- weaver/src/org/aspectj/weaver/tools/TraceFactory.java | 4 ---- weaver/testsrc/org/aspectj/weaver/TraceFactoryTest.java | 5 ----- 2 files changed, 9 deletions(-) (limited to 'weaver') diff --git a/weaver/src/org/aspectj/weaver/tools/TraceFactory.java b/weaver/src/org/aspectj/weaver/tools/TraceFactory.java index 5e194ea6c..beaaf862a 100644 --- a/weaver/src/org/aspectj/weaver/tools/TraceFactory.java +++ b/weaver/src/org/aspectj/weaver/tools/TraceFactory.java @@ -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; diff --git a/weaver/testsrc/org/aspectj/weaver/TraceFactoryTest.java b/weaver/testsrc/org/aspectj/weaver/TraceFactoryTest.java index e755fa277..24ec997fe 100644 --- a/weaver/testsrc/org/aspectj/weaver/TraceFactoryTest.java +++ b/weaver/testsrc/org/aspectj/weaver/TraceFactoryTest.java @@ -28,9 +28,4 @@ public class TraceFactoryTest extends TestCase { assertNotNull(trace); } - public void testIsEnabled() { - TraceFactory traceFactory = TraceFactory.getTraceFactory(); - assertTrue(traceFactory.isEnabled()); - } - } -- cgit v1.2.3