W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2008

2002/css-validator/org/w3c/css/parser CssSelectors.java,1.23,1.24 CssStyle.java,1.8,1.9

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 28 Mar 2008 16:36:48 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1JfHZQ-0002Ww-C6@lionel-hutz.w3.org>

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

Modified Files:
	CssSelectors.java CssStyle.java 
Log Message:
optimization, using arrays instead of enumeration in findConflict

Index: CssSelectors.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/CssSelectors.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- CssSelectors.java	20 Mar 2008 14:51:46 -0000	1.23
+++ CssSelectors.java	28 Mar 2008 16:36:46 -0000	1.24
@@ -639,7 +639,7 @@
     }
     
     public void findConflicts(ApplContext ac, Warnings warnings,
-	    Enumeration allSelectors) {
+			      CssSelectors[] allSelectors) {
 	CssStyle style = getStyle();
 	style.findConflicts(ac, warnings, this, allSelectors);
     }

Index: CssStyle.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/CssStyle.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- CssStyle.java	16 Sep 2005 13:33:52 -0000	1.8
+++ CssStyle.java	28 Mar 2008 16:36:46 -0000	1.9
@@ -97,8 +97,8 @@
    * @param warnings For warnings reports.
    * @param allSelectors All contexts is the entire style sheet.
    */
-  public void findConflicts(ApplContext ac, Warnings warnings,
-	  CssSelectors selector, Enumeration allSelectors) {
+    public void findConflicts(ApplContext ac, Warnings warnings,
+			      CssSelectors selector, CssSelectors[] allSelectors) {
     // nothing to do
   }
 }
Received on Friday, 28 March 2008 16:37:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:00 GMT