W3C home > Mailing lists > Public > www-validator-cvs@w3.org > May 2004

2002/css-validator/org/w3c/css/parser AtRuleMedia.java,1.5,1.6 CssFouffa.java,1.25,1.26

From: Bjoern Hoehrmann <bjoern@dev.w3.org>
Date: Sun, 30 May 2004 05:06:54 +0000
To: www-validator-cvs@w3.org
Message-Id: <20040530050654.2BA864A84E@hutz.w3.org>

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

Modified Files:
	AtRuleMedia.java CssFouffa.java 
Log Message:
more consistent use of java.util.Vector methods, see http://www.w3.org/mid/3f35c265.166229986@smtp.bjoern.hoehrmann.de

Index: AtRuleMedia.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/AtRuleMedia.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- AtRuleMedia.java	24 Oct 2003 16:47:45 -0000	1.5
+++ AtRuleMedia.java	30 May 2004 05:06:52 -0000	1.6
@@ -74,7 +74,7 @@
 	    if (prop.toString() != null) {
 		expression += " : " + prop.toString();
 	    }
-	    mediafeatures.add(expression);
+	    mediafeatures.addElement(expression);
 	}
     }
 

Index: CssFouffa.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/parser/CssFouffa.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- CssFouffa.java	6 May 2004 12:53:32 -0000	1.25
+++ CssFouffa.java	30 May 2004 05:06:52 -0000	1.26
@@ -383,7 +383,7 @@
 		    return;
 		}
 	    }
-	    visited.add(surl);
+	    visited.addElement(surl);
 	    
 	    if (Util.importSecurity) {
 		throw new FileNotFoundException("[SECURITY] You can't "+
Received on Sunday, 30 May 2004 01:06:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:06 UTC