From baf4958e10e998bf081c68ec047c5241f9d79c72 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 9 Oct 2006 12:28:42 +0000 Subject: [PATCH] helen wanted this tidied up --- .../systemtest/incremental/tools/AjdeInteractionTestbed.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.39.5