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 4af1c5d fix exception message typo
4af1c5d is described below
commit 4af1c5d2e3b062d3ff9bf35e517d79e92fe3ab50
Author: önder sezgin <onders@apache.org>
AuthorDate: Thu Sep 27 10:17:25 2018 +0300
fix exception message typo
---
.../src/main/java/org/apache/camel/component/file/FileOperations.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/camel-core/src/main/java/org/apache/camel/component/file/FileOperations.java
b/camel-core/src/main/java/org/apache/camel/component/file/FileOperations.java
index c20b54e..7a89227 100644
--- a/camel-core/src/main/java/org/apache/camel/component/file/FileOperations.java
+++ b/camel-core/src/main/java/org/apache/camel/component/file/FileOperations.java
@@ -395,7 +395,7 @@ public class FileOperations implements GenericFileOperations<File>
{
throw new GenericFileOperationFailedException("Cannot delete file: "
+ to);
}
} else {
- throw new GenericFileOperationFailedException("Cannot moved existing file
from: " + fileName + " to: " + to + " as there already exists a file: " + to);
+ throw new GenericFileOperationFailedException("Cannot move existing file
from: " + fileName + " to: " + to + " as there already exists a file: " + to);
}
}
|