Spelling: throw
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/e0a73f72 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/e0a73f72 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/e0a73f72 Branch: refs/heads/master Commit: e0a73f72eee923b920113b6e085f213918e965c3 Parents: e217ab2 Author: Josh Soref <jso...@rim.com> Authored: Mon Sep 10 15:20:24 2012 -0400 Committer: Simon MacDonald <simon.macdon...@gmail.com> Committed: Mon Sep 17 22:09:51 2012 -0400 ---------------------------------------------------------------------- framework/src/org/apache/cordova/FileUtils.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/e0a73f72/framework/src/org/apache/cordova/FileUtils.java ---------------------------------------------------------------------- diff --git a/framework/src/org/apache/cordova/FileUtils.java b/framework/src/org/apache/cordova/FileUtils.java index 1297f1e..a27632f 100755 --- a/framework/src/org/apache/cordova/FileUtils.java +++ b/framework/src/org/apache/cordova/FileUtils.java @@ -480,7 +480,7 @@ public class FileUtils extends Plugin { // This weird test is to determine if we are copying or moving a directory into itself. // Copy /sdcard/myDir to /sdcard/myDir-backup is okay but - // Copy /sdcard/myDir to /sdcard/myDir/backup should thow an INVALID_MODIFICATION_ERR + // Copy /sdcard/myDir to /sdcard/myDir/backup should throw an INVALID_MODIFICATION_ERR if (dest.startsWith(src) && dest.indexOf(File.separator, src.length() - 1) != -1) { return true; }