W3C home > Mailing lists > Public > www-validator-cvs@w3.org > January 2013

CVS 2002/css-validator/org/w3c/css/properties/css21

From: CVS User ylafon <cvsmail@w3.org>
Date: Wed, 02 Jan 2013 14:32:19 +0000
Message-Id: <E1TqPMh-0005lD-UE@roscoe.w3.org>
To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css21
In directory roscoe:/tmp/cvs-serv22120/css21

Modified Files:
	CssElevation.java 
Log Message:
npe fix on angle value

--- /sources/public/2002/css-validator/org/w3c/css/properties/css21/CssElevation.java	2012/12/18 19:32:30	1.3
+++ /sources/public/2002/css-validator/org/w3c/css/properties/css21/CssElevation.java	2013/01/02 14:32:19	1.4
@@ -1,5 +1,5 @@
 //
-// $Id: CssElevation.java,v 1.3 2012/12/18 19:32:30 ylafon Exp $
+// $Id: CssElevation.java,v 1.4 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
@@ -64,7 +64,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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 2 January 2013 14:32:30 GMT