aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authormwebster <mwebster>2006-07-28 12:55:20 +0000
committermwebster <mwebster>2006-07-28 12:55:20 +0000
commitd692fc2a7de7acd11233efdab8b5bbeb98777b44 (patch)
treefc745d0ac0d4d47ba7e164553adb1a424c8ac3d1 /weaver
parent2f3145681eb99bf4a32461a366ab87f1108bd056 (diff)
downloadaspectj-d692fc2a7de7acd11233efdab8b5bbeb98777b44.tar.gz
aspectj-d692fc2a7de7acd11233efdab8b5bbeb98777b44.zip
Bug 150487 "Tracing and Logging Framework" (remove redundant TraceFactory.isEnabled() method and test)
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/tools/TraceFactory.java4
-rw-r--r--weaver/testsrc/org/aspectj/weaver/TraceFactoryTest.java5
2 files changed, 0 insertions, 9 deletions
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());
- }
-
}