You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2015/08/27 17:59:14 UTC
camel git commit: Fixed error message on producer operations
Repository: camel
Updated Branches:
refs/heads/master e07f38c3e -> 3ffadbd92
Fixed error message on producer operations
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/3ffadbd9
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/3ffadbd9
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/3ffadbd9
Branch: refs/heads/master
Commit: 3ffadbd927a2b9b08aaad55f19baa4ddac334a9e
Parents: e07f38c
Author: Andrea Cosentino <an...@gmail.com>
Authored: Thu Aug 27 17:58:13 2015 +0200
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Thu Aug 27 17:58:14 2015 +0200
----------------------------------------------------------------------
.../java/org/apache/camel/component/git/producer/GitProducer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/3ffadbd9/components/camel-git/src/main/java/org/apache/camel/component/git/producer/GitProducer.java
----------------------------------------------------------------------
diff --git a/components/camel-git/src/main/java/org/apache/camel/component/git/producer/GitProducer.java b/components/camel-git/src/main/java/org/apache/camel/component/git/producer/GitProducer.java
index 73affbf..31d1bd4 100644
--- a/components/camel-git/src/main/java/org/apache/camel/component/git/producer/GitProducer.java
+++ b/components/camel-git/src/main/java/org/apache/camel/component/git/producer/GitProducer.java
@@ -142,7 +142,7 @@ public class GitProducer extends DefaultProducer {
break;
default:
- throw new IllegalArgumentException("Local path must specified to execute " + operation);
+ throw new IllegalArgumentException("Unsupported operation " + operation);
}
}