2006/unicorn/src/org/w3c/unicorn/tasklisttree TLTIf.java,1.4,1.5

Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklisttree
In directory hutz:/tmp/cvs-serv1629/src/org/w3c/unicorn/tasklisttree

Modified Files:
	TLTIf.java 
Log Message:
Updated command line client

Index: TLTIf.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklisttree/TLTIf.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- TLTIf.java	23 Sep 2009 09:22:13 -0000	1.4
+++ TLTIf.java	23 Sep 2009 18:07:08 -0000	1.5
@@ -82,13 +82,12 @@
 	 * @throws UnicornException
 	 */
 	public boolean check(UnicornCall unicornCall) throws UnicornException {
-		boolean conditionOK = false;
 		for (TLTCond cond : conds) {
 			if (cond.check(unicornCall)) {
-				conditionOK = true;
+				return true;
 			}
 		}
-		return conditionOK;
+		return false;
 	}
 	
 	/**

Received on Wednesday, 23 September 2009 18:07:18 UTC