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

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

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 10 Sep 2012 17:04:28 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1TB7PQ-0006gb-81@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/properties/css
In directory hutz:/tmp/cvs-serv25683/properties/css

Modified Files:
	CssBorderLeftStyle.java 
Log Message:
typo

Index: CssBorderLeftStyle.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/properties/css/CssBorderLeftStyle.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CssBorderLeftStyle.java	25 Apr 2012 20:21:54 -0000	1.1
+++ CssBorderLeftStyle.java	10 Sep 2012 17:04:26 -0000	1.2
@@ -6,7 +6,6 @@
 package org.w3c.css.properties.css;
 
 import org.w3c.css.parser.CssStyle;
-import org.w3c.css.properties.css1.Css1Style;
 import org.w3c.css.properties.css2.Css2Style;
 import org.w3c.css.util.ApplContext;
 import org.w3c.css.util.InvalidParamException;
@@ -82,7 +81,7 @@
      * @param style The CssStyle
      */
     public void addToStyle(ApplContext ac, CssStyle style) {
-        if (((Css1Style) style).cssBorder.borderStyle.left != null)
+        if (((Css2Style) style).cssBorder.borderStyle.left != null)
             style.addRedefinitionWarning(ac, this);
         ((Css2Style) style).cssBorder.borderStyle.left = this;
     }
Received on Monday, 10 September 2012 17:04:29 UTC

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