- From: CVS User ylafon <cvsmail@w3.org>
- Date: Fri, 11 Jan 2013 10:46:27 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/org/w3c/css/values In directory roscoe:/tmp/cvs-serv5702 Modified Files: CssFrequency.java CssValue.java Log Message: getFrequency added --- /sources/public/2002/css-validator/org/w3c/css/values/CssFrequency.java 2012/10/03 09:49:18 1.12 +++ /sources/public/2002/css-validator/org/w3c/css/values/CssFrequency.java 2013/01/11 10:46:27 1.13 @@ -1,5 +1,5 @@ // -// $Id: CssFrequency.java,v 1.12 2012/10/03 09:49:18 ylafon Exp $ +// $Id: CssFrequency.java,v 1.13 2013/01/11 10:46:27 ylafon Exp $ // From Philippe Le Hegaret (Philippe.Le_Hegaret@sophia.inria.fr) // // (c) COPYRIGHT MIT and INRIA, 1997. @@ -26,7 +26,7 @@ * <p/> * <P> For example, 200Hz is a bass sound, and 6kHz is a treble sound. * - * @version $Revision: 1.12 $ + * @version $Revision: 1.13 $ */ public class CssFrequency extends CssCheckableValue { @@ -215,5 +215,9 @@ ac.getFrame().addWarning("negative", toString()); } } + + public CssFrequency getFrequency() { + return this; + } } --- /sources/public/2002/css-validator/org/w3c/css/values/CssValue.java 2013/01/03 19:30:45 1.10 +++ /sources/public/2002/css-validator/org/w3c/css/values/CssValue.java 2013/01/11 10:46:27 1.11 @@ -1,5 +1,5 @@ // -// $Id: CssValue.java,v 1.10 2013/01/03 19:30:45 ylafon Exp $ +// $Id: CssValue.java,v 1.11 2013/01/11 10:46:27 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.10 $ + * @version $Revision: 1.11 $ */ public abstract class CssValue { @@ -73,4 +73,8 @@ public CssAngle getAngle() throws InvalidParamException { throw new ClassCastException("unknown"); } + + public CssFrequency getFrequency() throws InvalidParamException { + throw new ClassCastException("unknown"); + } }
Received on Friday, 11 January 2013 10:46:31 UTC