camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject camel git commit: Fixed error message on producer operations
Date Thu, 27 Aug 2015 15:59:14 GMT
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 <ancosen@gmail.com>
Authored: Thu Aug 27 17:58:13 2015 +0200
Committer: Andrea Cosentino <ancosen@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);
         }
     }
 


Mime
View raw message