- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 18 Sep 2009 15:44:14 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/response/parser In directory hutz:/tmp/cvs-serv10359/src/org/w3c/unicorn/response/parser Modified Files: DefaultParser.java Log Message: fixed unset rating were considered = 0 Index: DefaultParser.java =================================================================== RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/response/parser/DefaultParser.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- DefaultParser.java 18 Sep 2009 15:20:39 -0000 1.6 +++ DefaultParser.java 18 Sep 2009 15:44:12 -0000 1.7 @@ -82,10 +82,10 @@ res.setPassed(or.getPassed()); res.setUri(or.getUri()); res.setVersion(or.getVersion()); - res.setRating(or.getRating()); + if (or.isSetRating()) + res.setRating(or.getRating()); - org.w3.unicorn.observationresponse.ResultDocument.Result result = or - .getResult(); + org.w3.unicorn.observationresponse.ResultDocument.Result result = or.getResult(); // Fill res.result
Received on Friday, 18 September 2009 15:44:23 UTC