incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject [10/50] git commit: removed FileExistsException that is not needed
Date Tue, 03 Jan 2012 18:57:08 GMT
removed FileExistsException that is not needed


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/commit/1dfc65fa
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/1dfc65fa
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/1dfc65fa

Branch: refs/heads/master
Commit: 1dfc65facee1fa75601025368e0fc8399bc50aac
Parents: 18bf4cd
Author: wshen <williamshen01@gmail.com>
Authored: Thu Dec 1 10:04:49 2011 -0800
Committer: wshen <williamshen01@gmail.com>
Committed: Thu Dec 1 10:04:49 2011 -0800

----------------------------------------------------------------------
 framework/src/com/phonegap/FileUtils.java |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/1dfc65fa/framework/src/com/phonegap/FileUtils.java
----------------------------------------------------------------------
diff --git a/framework/src/com/phonegap/FileUtils.java b/framework/src/com/phonegap/FileUtils.java
index de20405..9bc0d0a 100755
--- a/framework/src/com/phonegap/FileUtils.java
+++ b/framework/src/com/phonegap/FileUtils.java
@@ -322,14 +322,13 @@ public class FileUtils extends Plugin {
      * @param newName for the file directory to be called, if null use existing file name
      * @param move if false do a copy, if true do a move
      * @return a Entry object
-     * @throws FileExistsException
      * @throws NoModificationAllowedException
      * @throws IOException
      * @throws InvalidModificationException
      * @throws EncodingException
      * @throws JSONException
      */
-    private JSONObject transferTo(String fileName, JSONObject newParent, String newName,
boolean move) throws JSONException, FileExistsException, NoModificationAllowedException, IOException,
InvalidModificationException, EncodingException {
+    private JSONObject transferTo(String fileName, JSONObject newParent, String newName,
boolean move) throws JSONException, NoModificationAllowedException, IOException, InvalidModificationException,
EncodingException {
         // Check for invalid file name
         if (newName != null && newName.contains(":")) {
             throw new EncodingException("Bad file name");


Mime
View raw message