2002/css-validator/org/w3c/css/css StyleSheet.java,1.10,1.11

Update of /sources/public/2002/css-validator/org/w3c/css/css
In directory hutz:/tmp/cvs-serv14298/org/w3c/css/css

Modified Files:
	StyleSheet.java 
Log Message:
(Jean-Guilhem Rouel) Fixes issues with warning and multiple definitions in the CSS of the same selector

Index: StyleSheet.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/StyleSheet.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- StyleSheet.java	14 Sep 2005 15:14:17 -0000	1.10
+++ StyleSheet.java	16 Sep 2005 13:33:52 -0000	1.11
@@ -168,8 +168,8 @@
      */
     public void findConflicts(ApplContext ac) {
 	for (Enumeration e = getRules().elements(); e.hasMoreElements();) {
-	    CssStyle style = ((CssSelectors) e.nextElement()).getStyle();
-	    style.findConflicts(ac, warnings, getRules().elements());
+	    CssSelectors sel = (CssSelectors) e.nextElement();
+	    sel.findConflicts(ac, warnings, getRules().elements());
 	}
     }
 

Received on Friday, 16 September 2005 13:34:36 UTC