From cc55e31fd1a9322318ebd95f9f8c5899ca9175c4 Mon Sep 17 00:00:00 2001 From: wisberg Date: Wed, 7 May 2003 04:00:37 +0000 Subject: [PATCH] API for Compiler to reuse command --- testing/src/org/aspectj/testing/harness/bridge/Sandbox.java | 6 ++++++ 1 file changed, 6 insertions(+) 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"); -- 2.39.5