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

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