- From: Florent Batard via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 29 Aug 2008 12:18:51 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/org/w3c/unicorn In directory hutz:/tmp/cvs-serv25181/org/w3c/unicorn Modified Files: UnicornCall.java Log Message: Finish off UnicornCall with the conditional checking Index: UnicornCall.java =================================================================== RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/UnicornCall.java,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- UnicornCall.java 27 Aug 2008 14:16:03 -0000 1.12 +++ UnicornCall.java 29 Aug 2008 12:18:49 -0000 1.13 @@ -234,20 +234,23 @@ * Check the conditions of the if branch it makes a OR between all conditions * @param ifs the if branch to check * @return whether or not the conditions are true + * @throws Exception */ - private boolean checkCond(TLTIf ifs){ + private boolean checkCond(TLTIf ifs) throws Exception{ UnicornCall.logger.trace("checkCond."); if (UnicornCall.logger.isDebugEnabled()) { UnicornCall.logger.debug("If node : " + ifs + "."); } boolean conditionOK=true; - //TODO boolean to manage the OR in the conditions, if the donc is false we change the boolean to false , if not we don't care + //FIXME boolean to manage the OR in the conditions, if the donc is false we change the boolean to false , if not we don't care //that will simulate the OR for(TLTCond cond:ifs.getCondArray()){ + this.checkCond(cond); } return conditionOK; + } /**
Received on Friday, 29 August 2008 12:19:25 UTC