From: wisberg Date: Wed, 7 May 2003 04:00:37 +0000 (+0000) Subject: API for Compiler to reuse command X-Git-Tag: V1_1_0_RC2~52 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cc55e31fd1a9322318ebd95f9f8c5899ca9175c4;p=aspectj.git API for Compiler to reuse command --- diff --git a/testing/src/org/aspectj/testing/harness/bridge/Sandbox.java b/testing/src/org/aspectj/testing/harness/bridge/Sandbox.java index 2bfb8e63b..0e0113fc3 100644 --- a/testing/src/org/aspectj/testing/harness/bridge/Sandbox.java +++ b/testing/src/org/aspectj/testing/harness/bridge/Sandbox.java @@ -294,6 +294,12 @@ public class Sandbox { // diffs.report(handler, IMessage.ERROR); // } + ICommand getCommand(CompilerRun caller) { + LangUtil.throwIaxIfNull(caller, "caller"); + assertState(null != command, "command never set"); + return command; + } + ICommand getCommand(IncCompilerRun caller) { LangUtil.throwIaxIfNull(caller, "caller"); assertState(null != command, "command never set");