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

CVS 2002/css-validator/org/w3c/css/values

From: CVS User ylafon <cvsmail@w3.org>
Date: Thu, 03 Jan 2013 19:30:45 +0000
Message-Id: <E1TqqV3-0002DA-5z@roscoe.w3.org>
To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/values
In directory roscoe:/tmp/cvs-serv8456/values

Modified Files:
	CssAngle.java CssValue.java 
Log Message:
now uses getAngle

--- /sources/public/2002/css-validator/org/w3c/css/values/CssAngle.java	2012/10/03 09:49:18	1.15
+++ /sources/public/2002/css-validator/org/w3c/css/values/CssAngle.java	2013/01/03 19:30:45	1.16
@@ -1,5 +1,5 @@
 //
-// $Id: CssAngle.java,v 1.15 2012/10/03 09:49:18 ylafon Exp $
+// $Id: CssAngle.java,v 1.16 2013/01/03 19:30:45 ylafon Exp $
 // From Philippe Le Hegaret (Philippe.Le_Hegaret@sophia.inria.fr)
 //
 // (c) COPYRIGHT MIT, ERCIM and Keio, 1997-2010.
@@ -28,7 +28,7 @@
  * <p>Values in these units may be negative. They should be normalized to the
  * range 0-360deg by the UA. For example, -10deg and 350deg are equivalent.
  *
- * @version $Revision: 1.15 $
+ * @version $Revision: 1.16 $
  */
 public class CssAngle extends CssCheckableValue implements CssValueFloat {
 
@@ -165,6 +165,10 @@
 		return degree;
 	}
 
+	public CssAngle getAngle() {
+		return this;
+	}
+
 	//@@FIXME I should return the remainder for all ...
 
 	public float getDegree() {
--- /sources/public/2002/css-validator/org/w3c/css/values/CssValue.java	2012/10/03 09:49:18	1.9
+++ /sources/public/2002/css-validator/org/w3c/css/values/CssValue.java	2013/01/03 19:30:45	1.10
@@ -1,5 +1,5 @@
 //
-// $Id: CssValue.java,v 1.9 2012/10/03 09:49:18 ylafon Exp $
+// $Id: CssValue.java,v 1.10 2013/01/03 19:30:45 ylafon Exp $
 // From Philippe Le Hegaret (Philippe.Le_Hegaret@sophia.inria.fr)
 //
 // (c) COPYRIGHT MIT and INRIA, 1997.
@@ -10,7 +10,7 @@
 import org.w3c.css.util.InvalidParamException;
 
 /**
- * @version $Revision: 1.9 $
+ * @version $Revision: 1.10 $
  */
 public abstract class CssValue {
 
@@ -69,4 +69,8 @@
 	public CssTime getTime() throws InvalidParamException {
 		throw new ClassCastException("unknown");
 	}
+
+	public CssAngle getAngle() throws  InvalidParamException {
+		throw new ClassCastException("unknown");
+	}
 }
Received on Thursday, 3 January 2013 19:30:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 3 January 2013 19:31:02 GMT