W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2012

2002/css-validator/org/w3c/css/properties/css21 CssWordSpacing.java,1.1,1.2

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 04 Sep 2012 08:23:23 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1T8oPr-0007Az-5t@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css21
In directory hutz:/tmp/cvs-serv27446/css21

Modified Files:
	CssWordSpacing.java 
Log Message:
use the root class CssValue

Index: CssWordSpacing.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css21/CssWordSpacing.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CssWordSpacing.java	9 Feb 2012 17:36:32 -0000	1.1
+++ CssWordSpacing.java	4 Sep 2012 08:23:21 -0000	1.2
@@ -6,7 +6,6 @@
 // Please first read the full copyright statement in file COPYRIGHT.html
 package org.w3c.css.properties.css21;
 
-import org.w3c.css.properties.css.CssProperty;
 import org.w3c.css.util.ApplContext;
 import org.w3c.css.util.InvalidParamException;
 import org.w3c.css.values.CssExpression;
@@ -21,7 +20,6 @@
  */
 public class CssWordSpacing extends org.w3c.css.properties.css.CssWordSpacing {
 
-    private CssValue value;
     private static CssIdent normal = CssIdent.getIdent("normal");
 
     /**
@@ -70,36 +68,4 @@
             throws InvalidParamException {
         this(ac, expression, false);
     }
-
-    /**
-     * Returns the value of this property
-     */
-    public Object get() {
-        return value;
-    }
-
-    /**
-     * Returns true if this property is "softly" inherited
-     * e.g. his value equals inherit
-     */
-    public boolean isSoftlyInherited() {
-        return value == inherit;
-    }
-
-    /**
-     * Returns a string representation of the object.
-     */
-    public String toString() {
-        return value.toString();
-    }
-
-    /**
-     * Compares two properties for equality.
-     *
-     * @param property The other property.
-     */
-    public boolean equals(CssProperty property) {
-        return (property instanceof CssWordSpacing &&
-                value.equals(((CssWordSpacing) property).value));
-    }
 }
Received on Tuesday, 4 September 2012 08:23:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:51 UTC