diff options
author | aclement <aclement> | 2011-10-11 16:14:02 +0000 |
---|---|---|
committer | aclement <aclement> | 2011-10-11 16:14:02 +0000 |
commit | 289a692299190ea032348fb0f8243a025245a55c (patch) | |
tree | 26b209ac299697c9890fb942245c8df8460d0a9b /weaver | |
parent | de7f2892de50d92f11c73fb4c89dfabd02f7f748 (diff) | |
download | aspectj-289a692299190ea032348fb0f8243a025245a55c.tar.gz aspectj-289a692299190ea032348fb0f8243a025245a55c.zip |
360331
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/loadtime/definition/DocumentParser.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/loadtime/definition/DocumentParser.java b/weaver/src/org/aspectj/weaver/loadtime/definition/DocumentParser.java index 5be9057d2..13968a696 100644 --- a/weaver/src/org/aspectj/weaver/loadtime/definition/DocumentParser.java +++ b/weaver/src/org/aspectj/weaver/loadtime/definition/DocumentParser.java @@ -82,7 +82,7 @@ public class DocumentParser extends DefaultHandler { private Definition.ConcreteAspect activeConcreteAspectDefinition; private static Hashtable<String, Definition> parsedFiles = new Hashtable<String, Definition>(); - private static final boolean CACHE; + private static boolean CACHE; private static final boolean LIGHTPARSER; static { @@ -345,4 +345,11 @@ public class DocumentParser extends DefaultHandler { return (s != null && s.equals("true")); } + /** + * Turn off caching + */ + public static void deactivateCaching() { + CACHE = false; + } + } |