geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r661203 - /geronimo/gshell/trunk/gshell-commands/gshell-bsf/src/main/java/org/apache/geronimo/gshell/commands/bsf/ScriptCommand.java
Date Thu, 29 May 2008 04:18:39 GMT
Author: jdillon
Date: Wed May 28 21:18:39 2008
New Revision: 661203

URL: http://svn.apache.org/viewvc?rev=661203&view=rev
Log:
use File.toURI().toURL()

Modified:
    geronimo/gshell/trunk/gshell-commands/gshell-bsf/src/main/java/org/apache/geronimo/gshell/commands/bsf/ScriptCommand.java

Modified: geronimo/gshell/trunk/gshell-commands/gshell-bsf/src/main/java/org/apache/geronimo/gshell/commands/bsf/ScriptCommand.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-commands/gshell-bsf/src/main/java/org/apache/geronimo/gshell/commands/bsf/ScriptCommand.java?rev=661203&r1=661202&r2=661203&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-commands/gshell-bsf/src/main/java/org/apache/geronimo/gshell/commands/bsf/ScriptCommand.java
(original)
+++ geronimo/gshell/trunk/gshell-commands/gshell-bsf/src/main/java/org/apache/geronimo/gshell/commands/bsf/ScriptCommand.java
Wed May 28 21:18:39 2008
@@ -105,7 +105,7 @@
         	File pathFile = new File(path);
         	URL pathURL;
         	if (pathFile.isFile()) {
-        		pathURL = pathFile.toURL();
+        		pathURL = pathFile.toURI().toURL();
         	} else {
         		URI pathURI = new URI(path);
         		pathURL = pathURI.toURL();



Mime
View raw message