From: aclement Date: Mon, 9 Oct 2006 12:28:42 +0000 (+0000) Subject: helen wanted this tidied up X-Git-Tag: BEFORE_133532~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=baf4958e10e998bf081c68ec047c5241f9d79c72;p=aspectj.git helen wanted this tidied up --- diff --git a/tests/src/org/aspectj/systemtest/incremental/tools/AjdeInteractionTestbed.java b/tests/src/org/aspectj/systemtest/incremental/tools/AjdeInteractionTestbed.java index ae05f464d..bea6ed71c 100644 --- a/tests/src/org/aspectj/systemtest/incremental/tools/AjdeInteractionTestbed.java +++ b/tests/src/org/aspectj/systemtest/incremental/tools/AjdeInteractionTestbed.java @@ -700,8 +700,8 @@ public class AjdeInteractionTestbed extends TestCase { } public boolean hasWarning() { - log("TaskListManager.hasWarning() [returning "+(warningMessages.size()==0)+"]"); - return warningMessages.size()==0; + log("TaskListManager.hasWarning() [returning "+(!warningMessages.isEmpty())+"]"); + return !warningMessages.isEmpty(); } public void addProjectTask(String message, Kind kind) {