]> source.dussan.org Git - aspectj.git/commitdiff
helen wanted this tidied up
authoraclement <aclement>
Mon, 9 Oct 2006 12:28:42 +0000 (12:28 +0000)
committeraclement <aclement>
Mon, 9 Oct 2006 12:28:42 +0000 (12:28 +0000)
tests/src/org/aspectj/systemtest/incremental/tools/AjdeInteractionTestbed.java

index ae05f464dd2661843481a65ce25a400138286648..bea6ed71cd284311e773a9cd402c9814d2192a72 100644 (file)
@@ -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) {