[Arakhnę-Dev] [188] * Fixing Windows Native path support.

[ Thread Index | Date Index | More arakhne.org/dev Archives ]


Revision: 188
Author:   galland
Date:     2010-09-28 20:54:05 +0200 (Tue, 28 Sep 2010)
Log Message:
-----------
* Fixing Windows Native path support.

Modified Paths:
--------------
    trunk/arakhneVmutils/java/src/main/java/org/arakhne/vmutil/file/URLConnection.java

Modified: trunk/arakhneVmutils/java/src/main/java/org/arakhne/vmutil/file/URLConnection.java
===================================================================
--- trunk/arakhneVmutils/java/src/main/java/org/arakhne/vmutil/file/URLConnection.java	2010-09-28 18:53:31 UTC (rev 187)
+++ trunk/arakhneVmutils/java/src/main/java/org/arakhne/vmutil/file/URLConnection.java	2010-09-28 18:54:05 UTC (rev 188)
@@ -164,7 +164,7 @@
 	@Override
 	public void connect() throws IOException {
 		if (!this.connected) {
-			this.file = FileSystem.convertUrlToFile(this.url);
+			this.file = FileSystem.convertURLToFile(this.url);
 			if (this.file==null)
 				throw new FileNotFoundException(this.url.toExternalForm());
 			this.contentType = new MimetypesFileTypeMap().getContentType(this.file);


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/