W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2007

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

From: Julien Grand-Mourcel via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 23 Aug 2007 09:10:36 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1IO8i4-0007V6-9d@lionel-hutz.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 September 2007 14:33:19 GMT