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

2002/css-validator/org/w3c/css/properties/css21 CssBackgroundColorCSS21.java,1.4,1.5 CssBorderFaceColorCSS21.java,1.3,1.4 CssColorCSS21.java,1.5,1.6

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 29 Sep 2011 09:09:01 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1R9Cc1-0006fU-Oj@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css21
In directory hutz:/tmp/cvs-serv25474/org/w3c/css/properties/css21

Modified Files:
	CssBackgroundColorCSS21.java CssBorderFaceColorCSS21.java 
	CssColorCSS21.java 
Log Message:
getting rid of multiple classes for Color value

Index: CssColorCSS21.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css21/CssColorCSS21.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- CssColorCSS21.java	5 Jan 2010 13:49:48 -0000	1.5
+++ CssColorCSS21.java	29 Sep 2011 09:08:59 -0000	1.6
@@ -8,9 +8,8 @@
 import org.w3c.css.util.ApplContext;
 import org.w3c.css.util.InvalidParamException;
 import org.w3c.css.values.CssExpression;
-import org.w3c.css.values.CssIdent;
-import org.w3c.css.values.CssValue;
 import org.w3c.css.values.CssTypes;
+import org.w3c.css.values.CssValue;
 
 /**
  * CssColorCSS21<br />
@@ -43,7 +42,7 @@
 		setColor(inherit);
 		break;
 	    }
-	    setColor(new org.w3c.css.values.CssColorCSS21(ac,
+	    setColor(new org.w3c.css.values.CssColor(ac,
 							  (String) val.get()));
 	    break;
 	default:

Index: CssBackgroundColorCSS21.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css21/CssBackgroundColorCSS21.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- CssBackgroundColorCSS21.java	5 Jan 2010 13:49:48 -0000	1.4
+++ CssBackgroundColorCSS21.java	29 Sep 2011 09:08:59 -0000	1.5
@@ -53,7 +53,7 @@
 		setColor(inherit);
 		break;
 	    } 
-	    setColor(new org.w3c.css.values.CssColorCSS21(ac,
+	    setColor(new org.w3c.css.values.CssColor(ac,
 							  (String) val.get()));
 	    break;
 	default:

Index: CssBorderFaceColorCSS21.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css21/CssBorderFaceColorCSS21.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- CssBorderFaceColorCSS21.java	5 Jan 2010 13:49:48 -0000	1.3
+++ CssBorderFaceColorCSS21.java	29 Sep 2011 09:08:59 -0000	1.4
@@ -65,7 +65,7 @@
 	} else if(val.equals(CssProperty.transparent)) {
 	    setFace(CssProperty.transparent);
 	} else if (val instanceof CssIdent) {
-	    setFace(new org.w3c.css.values.CssColorCSS21(ac, (String) val.get()));
+	    setFace(new org.w3c.css.values.CssColor(ac, (String) val.get()));
 	} else {
 	    throw new InvalidParamException("value", val.toString(),
 					    "border-color", ac);
Received on Thursday, 29 September 2011 09:09:08 UTC

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