camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [1/3] camel git commit: Fixed CS
Date Thu, 21 Jul 2016 09:32:09 GMT
Repository: camel
Updated Branches:
  refs/heads/master 1153beb5b -> 9307d0ce5


Fixed CS


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/a1d95a8a
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/a1d95a8a
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/a1d95a8a

Branch: refs/heads/master
Commit: a1d95a8a67a245f5ed7d674c503ca075d8d3157b
Parents: d619bb7
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Thu Jul 21 11:10:26 2016 +0200
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Thu Jul 21 11:31:04 2016 +0200

----------------------------------------------------------------------
 .../camel/component/github/producer/CreateIssueProducer.java   | 6 +++---
 .../component/github/producer/CreateIssueProducerTest.java     | 2 +-
 .../camel/component/github/services/MockIssueService.java      | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/a1d95a8a/components/camel-github/src/main/java/org/apache/camel/component/github/producer/CreateIssueProducer.java
----------------------------------------------------------------------
diff --git a/components/camel-github/src/main/java/org/apache/camel/component/github/producer/CreateIssueProducer.java
b/components/camel-github/src/main/java/org/apache/camel/component/github/producer/CreateIssueProducer.java
index 337fe54..7d7aef4 100644
--- a/components/camel-github/src/main/java/org/apache/camel/component/github/producer/CreateIssueProducer.java
+++ b/components/camel-github/src/main/java/org/apache/camel/component/github/producer/CreateIssueProducer.java
@@ -37,15 +37,15 @@ public class CreateIssueProducer extends AbstractGitHubProducer {
         Registry registry = endpoint.getCamelContext().getRegistry();
         Object service = registry.lookupByName("githubIssuesService");
         if (service != null) {
-        	issueService = (IssueService) service;
+            issueService = (IssueService) service;
         } else {
-        	issueService = new IssueService();
+            issueService = new IssueService();
         }
         initService(issueService);
     }
 
     public void process(Exchange exchange) throws Exception {
-    	Issue issue = new Issue();
+        Issue issue = new Issue();
         String issueTitle = exchange.getIn().getHeader("GitHubIssueTitle", String.class);
         if (ObjectHelper.isEmpty(issueTitle)) {
             throw new IllegalArgumentException("Issue Title must be specified to create an
issue");

http://git-wip-us.apache.org/repos/asf/camel/blob/a1d95a8a/components/camel-github/src/test/java/org/apache/camel/component/github/producer/CreateIssueProducerTest.java
----------------------------------------------------------------------
diff --git a/components/camel-github/src/test/java/org/apache/camel/component/github/producer/CreateIssueProducerTest.java
b/components/camel-github/src/test/java/org/apache/camel/component/github/producer/CreateIssueProducerTest.java
index 14508a0..3c40e28 100644
--- a/components/camel-github/src/test/java/org/apache/camel/component/github/producer/CreateIssueProducerTest.java
+++ b/components/camel-github/src/test/java/org/apache/camel/component/github/producer/CreateIssueProducerTest.java
@@ -49,7 +49,7 @@ public class CreateIssueProducerTest extends GitHubComponentTestBase {
 
     @Test
     public void testCreateIssue() throws Exception {
-    	Repository repository = new Repository();
+        Repository repository = new Repository();
 
         Endpoint issueProducerEndpoint = getMandatoryEndpoint("direct:createIssue");
         Exchange exchange = issueProducerEndpoint.createExchange();

http://git-wip-us.apache.org/repos/asf/camel/blob/a1d95a8a/components/camel-github/src/test/java/org/apache/camel/component/github/services/MockIssueService.java
----------------------------------------------------------------------
diff --git a/components/camel-github/src/test/java/org/apache/camel/component/github/services/MockIssueService.java
b/components/camel-github/src/test/java/org/apache/camel/component/github/services/MockIssueService.java
index a3565ba..b77f2e8 100644
--- a/components/camel-github/src/test/java/org/apache/camel/component/github/services/MockIssueService.java
+++ b/components/camel-github/src/test/java/org/apache/camel/component/github/services/MockIssueService.java
@@ -57,7 +57,7 @@ public class MockIssueService extends IssueService {
     
     @Override
     public Issue getIssue(IRepositoryIdProvider repository, String issueNumber) {
-    	Issue issue = new Issue();
+        Issue issue = new Issue();
         issue.setBody("There's an error");
         issue.setTitle("Error");
         issue.setId(1L);


Mime
View raw message