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

2002/css-validator/org/w3c/css/selectors SelectorsList.java,1.8,1.9

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 14 Sep 2011 16:31:52 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1R3sNM-0006X2-Bd@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/org/w3c/css/selectors
In directory hutz:/tmp/cvs-serv24952/selectors

Modified Files:
	SelectorsList.java 
Log Message:
reworking profile/version check ot avoid doing too many string comparisons, and user defaulting

Index: SelectorsList.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/selectors/SelectorsList.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- SelectorsList.java	29 Aug 2011 07:21:01 -0000	1.8
+++ SelectorsList.java	14 Sep 2011 16:31:50 -0000	1.9
@@ -128,7 +128,7 @@
             Selector last = selectors.get(selectors.size() - 1);
             if (last instanceof PseudoElementSelector) {
                 throw new InvalidParamException("pseudo-element", selector,
-                        ac.getMsg().getString(ac.getCssVersion()), ac);
+                        ac.getMsg().getString(ac.getCssVersionString()), ac);
             }
         }
         selectors.add(selector);
Received on Wednesday, 14 September 2011 16:32:07 UTC

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