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 2018/03/23 12:31:15 UTC
[camel] branch master updated: Camel-Git - Use always _OPERATION
suffix for elements of GitOperation
This is an automated email from the ASF dual-hosted git repository.
acosentino 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 67cb900 Camel-Git - Use always _OPERATION suffix for elements of GitOperation
67cb900 is described below
commit 67cb900b06ccc566bf3d3b9c75072a7787772911
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Mar 23 13:30:08 2018 +0100
Camel-Git - Use always _OPERATION suffix for elements of GitOperation
---
.../main/java/org/apache/camel/component/git/producer/GitOperation.java | 2 +-
.../main/java/org/apache/camel/component/git/producer/GitProducer.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/camel-git/src/main/java/org/apache/camel/component/git/producer/GitOperation.java b/components/camel-git/src/main/java/org/apache/camel/component/git/producer/GitOperation.java
index f37d488..c2e5c0f 100644
--- a/components/camel-git/src/main/java/org/apache/camel/component/git/producer/GitOperation.java
+++ b/components/camel-git/src/main/java/org/apache/camel/component/git/producer/GitOperation.java
@@ -33,7 +33,7 @@ public interface GitOperation {
String PUSH_OPERATION = "push";
String PULL_OPERATION = "pull";
String MERGE_OPERATION = "merge";
- String SHOW_BRANCHES = "showBranches";
+ String SHOW_BRANCHES_OPERATION = "showBranches";
String CHERRYPICK_OPERATION = "cherryPick";
String REMOTE_ADD_OPERATION = "remoteAdd";
String REMOTE_LIST_OPERATION = "remoteList";
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 930f19a..4af1a72 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
@@ -156,7 +156,7 @@ public class GitProducer extends DefaultProducer {
doDeleteTag(exchange, operation);
break;
- case GitOperation.SHOW_BRANCHES:
+ case GitOperation.SHOW_BRANCHES_OPERATION:
doShowBranches(exchange, operation);
break;
--
To stop receiving notification emails like this one, please contact
acosentino@apache.org.