2002/css-validator/org/w3c/css/util Messages.java,1.12,1.13

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

Modified Files:
	Messages.java 
Log Message:
Setting the adjustURL method to public so it can be used in StyleSheetGenerator as well...

Index: Messages.java
===================================================================
RCS file: /sources/public/2002/css-validator/org/w3c/css/util/Messages.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- Messages.java	23 Aug 2007 08:58:14 -0000	1.12
+++ Messages.java	23 Aug 2007 09:10:33 -0000	1.13
@@ -332,14 +332,12 @@
 		}
 	}
 
-	private static URL adjustURL(URL resource) throws MalformedURLException {
+	public static URL adjustURL(URL resource) throws MalformedURLException {
 		String urlStr = resource.getFile();
-		System.err.println(urlStr);
 		if (urlStr.startsWith("file://"))
 			urlStr.replaceFirst("file://localhost", "file://");
 		else
 			urlStr = "file:///" + urlStr;
-		System.err.println(urlStr);
 		return new URL(urlStr);
 	}
 }

Received on Thursday, 23 August 2007 09:10:40 UTC