incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deedu...@apache.org
Subject webworks commit: [CB-822] Revert change to prefix file protocol for resolveLocalFileSystemURI
Date Wed, 23 May 2012 19:41:32 GMT
Updated Branches:
  refs/heads/master 9590c2069 -> 821e3aae7


[CB-822] Revert change to prefix file protocol for resolveLocalFileSystemURI


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/commit/821e3aae
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/tree/821e3aae
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/diff/821e3aae

Branch: refs/heads/master
Commit: 821e3aae7e15113afc56d74ba69761b7b9bff97a
Parents: 9590c20
Author: Drew Walters <deedubbu@apache.org>
Authored: Wed May 23 14:40:51 2012 -0500
Committer: Drew Walters <deedubbu@apache.org>
Committed: Wed May 23 14:40:51 2012 -0500

----------------------------------------------------------------------
 .../src/org/apache/cordova/file/FileManager.java   |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks/blob/821e3aae/framework/ext/src/org/apache/cordova/file/FileManager.java
----------------------------------------------------------------------
diff --git a/framework/ext/src/org/apache/cordova/file/FileManager.java b/framework/ext/src/org/apache/cordova/file/FileManager.java
index b0fb4d6..e0c3556 100644
--- a/framework/ext/src/org/apache/cordova/file/FileManager.java
+++ b/framework/ext/src/org/apache/cordova/file/FileManager.java
@@ -897,8 +897,6 @@ public class FileManager extends Plugin {
         else {
             FileConnection fconn = null;
             try {
-                // Prefix file:// protocol if it doesn't exist.
-                path = FileUtils.prefixFileURI(path);
                 fconn = (FileConnection) Connector.open(path);
                 if (fconn.exists()) {
                     // create a new Entry


Mime
View raw message