2002/css-validator/org/w3c/css/css StyleSheetGenerator.java,1.13,1.14

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

Modified Files:
	StyleSheetGenerator.java 
Log Message:
Some changes to allow url to be adjusted if they are strange.
Changing the path to template and HTML files when it is not getting it well using getClass().getResources()...

Index: StyleSheetGenerator.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/css/StyleSheetGenerator.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- StyleSheetGenerator.java	21 Aug 2007 08:39:15 -0000	1.13
+++ StyleSheetGenerator.java	23 Aug 2007 09:18:44 -0000	1.14
@@ -58,7 +58,7 @@
 		URL url;
 		availableFormat = new Utf8Properties();
 		try {
-			url = StyleSheetGenerator.class.getResource("format.properties");
+			url = Messages.adjustURL(StyleSheetGenerator.class.getResource("format.properties"));
 			java.io.InputStream f = url.openStream();
 			availableFormat.load(f);
 			f.close();
@@ -69,7 +69,7 @@
 
 		availablePropertiesURL = new Utf8Properties();
 		try {
-			url = StyleSheetGenerator.class.getResource("urls.properties");
+			url = Messages.adjustURL(StyleSheetGenerator.class.getResource("urls.properties"));
 			java.io.InputStream f = url.openStream();
 			availablePropertiesURL.load(f);
 			f.close();

Received on Thursday, 23 August 2007 09:18:50 UTC