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

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

Modified Files:
	StyleSheetGenerator.java 
Log Message:
Adding the formatting method to the application context so it can be used everywhere. (StyleSheetGenerator for instance)

Index: StyleSheetGenerator.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/StyleSheetGenerator.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- StyleSheetGenerator.java	6 Aug 2007 13:50:02 -0000	1.10
+++ StyleSheetGenerator.java	7 Aug 2007 10:53:39 -0000	1.11
@@ -145,7 +145,7 @@
 		context.put("rules_count", new Integer(items.size()));
 		context.put("no_errors_report", new Boolean(false));
 		context.put("charset", ac.getContentEncoding());
-		context.put("cssversion", ac.getCssVersion());
+		context.put("cssversion", ac.getFormatedCssVersion());
 		context.put("css_link", getURLProperty("@url-base_"+ac.getCssVersion()));
 		context.put("is_valid", (errors.getErrorCount() == 0) ? "true" : "false");
 		context.put("author", "www-validator-css");

Received on Tuesday, 7 August 2007 10:53:43 UTC