incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liu...@apache.org
Subject svn commit: r1361035 - /incubator/ooo/trunk/main/test/testcommon/source/org/openoffice/test/common/FileUtil.java
Date Fri, 13 Jul 2012 03:17:55 GMT
Author: liuzhe
Date: Fri Jul 13 03:17:55 2012
New Revision: 1361035

URL: http://svn.apache.org/viewvc?rev=1361035&view=rev
Log:
Missed "return" in getUrl

Modified:
    incubator/ooo/trunk/main/test/testcommon/source/org/openoffice/test/common/FileUtil.java

Modified: incubator/ooo/trunk/main/test/testcommon/source/org/openoffice/test/common/FileUtil.java
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/test/testcommon/source/org/openoffice/test/common/FileUtil.java?rev=1361035&r1=1361034&r2=1361035&view=diff
==============================================================================
--- incubator/ooo/trunk/main/test/testcommon/source/org/openoffice/test/common/FileUtil.java
(original)
+++ incubator/ooo/trunk/main/test/testcommon/source/org/openoffice/test/common/FileUtil.java
Fri Jul 13 03:17:55 2012
@@ -758,7 +758,7 @@ public class FileUtil {
 	public static String getUrl(File file) {
 		try {
 			String url = file.toURL().toString();
-			url = url.replace("file:/", "file:///");
+			return url.replace("file:/", "file:///");
 		} catch(Exception e) {
 			
 		}



Mime
View raw message