This is an automated email from the ASF dual-hosted git repository.
onders pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 4b36074 fix exception message typo
4b36074 is described below
commit 4b360740e4852855de473dea10ff9974cf4a6ce4
Author: önder sezgin <onders@apache.org>
AuthorDate: Thu Sep 27 10:19:30 2018 +0300
fix exception message typo
---
.../java/org/apache/camel/component/file/remote/SftpOperations.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java
b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java
index 7786980..8c3a1e7 100644
--- a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java
+++ b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpOperations.java
@@ -1003,7 +1003,7 @@ public class SftpOperations implements RemoteFileOperations<SftpRemoteFile>
{
LOG.trace("Deleting existing file: {}", to);
deleteFile(to);
} else {
- throw new GenericFileOperationFailedException("Cannot moved existing file
from: " + name + " to: " + to + " as there already exists a file: " + to);
+ throw new GenericFileOperationFailedException("Cannot move existing file
from: " + name + " to: " + to + " as there already exists a file: " + to);
}
}
|