- From: CVS User ylafon <cvsmail@w3.org>
- Date: Wed, 02 Jan 2013 14:32:19 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css2 In directory roscoe:/tmp/cvs-serv22120/css2 Modified Files: CssElevation.java Log Message: npe fix on angle value --- /sources/public/2002/css-validator/org/w3c/css/properties/css2/CssElevation.java 2012/12/18 19:32:30 1.2 +++ /sources/public/2002/css-validator/org/w3c/css/properties/css2/CssElevation.java 2013/01/02 14:32:19 1.3 @@ -1,5 +1,5 @@ // -// $Id: CssElevation.java,v 1.2 2012/12/18 19:32:30 ylafon Exp $ +// $Id: CssElevation.java,v 1.3 2013/01/02 14:32:19 ylafon Exp $ // // (c) COPYRIGHT MIT, ERCIM and Keio University, 2011. // Please first read the full copyright statement in file COPYRIGHT.html @@ -16,7 +16,7 @@ /** - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ * @spec http://www.w3.org/TR/2008/REC-CSS2-20080411/aural.html#propdef-elevation */ public class CssElevation extends org.w3c.css.properties.css.CssElevation { @@ -68,7 +68,7 @@ switch (val.getType()) { case CssTypes.CSS_ANGLE: // TODO getAngle() - CssAngle a = (CssAngle) value; + CssAngle a = (CssAngle) val; float v = a.getDegree(); if (v > 90 && v < 270) { throw new InvalidParamException("elevation.range", ac);
Received on Wednesday, 2 January 2013 14:32:22 UTC