camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gzurow...@apache.org
Subject camel git commit: Fix Checkstyle issues
Date Sun, 27 Nov 2016 12:51:30 GMT
Repository: camel
Updated Branches:
  refs/heads/master 2ab44347d -> 5ee0e619f


Fix Checkstyle issues

Signed-off-by: Gregor Zurowski <gregor@zurowski.org>

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

Branch: refs/heads/master
Commit: 5ee0e619fc603a3306eed16d9c3ff2ba5dc129ad
Parents: 2ab4434
Author: Gregor Zurowski <gregor@zurowski.org>
Authored: Sun Nov 27 13:51:03 2016 +0100
Committer: Gregor Zurowski <gregor@zurowski.org>
Committed: Sun Nov 27 13:51:03 2016 +0100

----------------------------------------------------------------------
 .../servicenow/AbstractServiceNowProcessor.java         |  2 +-
 .../helsinki/HelsinkiServiceNowAggregateProcessor.java  |  2 +-
 .../helsinki/HelsinkiServiceNowAttachmentProcessor.java |  2 +-
 .../HelsinkiServiceNowServiceCatalogCartsProcessor.java | 12 ++++++------
 ...inkiServiceNowServiceCatalogCategoriesProcessor.java |  2 +-
 .../HelsinkiServiceNowServiceCatalogItemsProcessor.java | 10 +++++-----
 .../HelsinkiServiceNowServiceCatalogProcessor.java      |  4 ++--
 7 files changed, 17 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/5ee0e619/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/AbstractServiceNowProcessor.java
----------------------------------------------------------------------
diff --git a/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/AbstractServiceNowProcessor.java
b/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/AbstractServiceNowProcessor.java
index cff5435..45cfbaa 100644
--- a/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/AbstractServiceNowProcessor.java
+++ b/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/AbstractServiceNowProcessor.java
@@ -148,7 +148,7 @@ public abstract class AbstractServiceNowProcessor implements Processor
{
 
                 if (root != null) {
                     Iterator<Map.Entry<String, JsonNode>> fields = root.fields();
-                    while(fields.hasNext()) {
+                    while (fields.hasNext()) {
                         final Map.Entry<String, JsonNode> entry = fields.next();
                         final String key = entry.getKey();
                         final JsonNode node = entry.getValue();

http://git-wip-us.apache.org/repos/asf/camel/blob/5ee0e619/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowAggregateProcessor.java
----------------------------------------------------------------------
diff --git a/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowAggregateProcessor.java
b/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowAggregateProcessor.java
index 0cba535..be47129 100644
--- a/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowAggregateProcessor.java
+++ b/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowAggregateProcessor.java
@@ -49,7 +49,7 @@ class HelsinkiServiceNowAggregateProcessor extends AbstractServiceNowProcessor
{
     private void retrieveStats(Exchange exchange) throws Exception {
         final Message in = exchange.getIn();
         final String tableName = getTableName(in);
-        final String apiVersion  =getApiVersion(in);
+        final String apiVersion = getApiVersion(in);
         final Class<?> responseModel = getResponseModel(in, tableName);
 
         Response response = client.reset()

http://git-wip-us.apache.org/repos/asf/camel/blob/5ee0e619/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowAttachmentProcessor.java
----------------------------------------------------------------------
diff --git a/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowAttachmentProcessor.java
b/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowAttachmentProcessor.java
index db1e451..b57fe4a 100644
--- a/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowAttachmentProcessor.java
+++ b/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowAttachmentProcessor.java
@@ -59,7 +59,7 @@ public class HelsinkiServiceNowAttachmentProcessor extends AbstractServiceNowPro
     private void retrieveMeta(Exchange exchange) throws Exception {
         final Message in = exchange.getIn();
         final String tableName = getTableName(in);
-        final String apiVersion =getApiVersion(in);
+        final String apiVersion = getApiVersion(in);
         final Class<?> responseModel = getResponseModel(in, tableName);
         final String sysId = getSysID(in);
 

http://git-wip-us.apache.org/repos/asf/camel/blob/5ee0e619/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowServiceCatalogCartsProcessor.java
----------------------------------------------------------------------
diff --git a/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowServiceCatalogCartsProcessor.java
b/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowServiceCatalogCartsProcessor.java
index 490827f..99b1d52 100644
--- a/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowServiceCatalogCartsProcessor.java
+++ b/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowServiceCatalogCartsProcessor.java
@@ -59,7 +59,7 @@ class HelsinkiServiceNowServiceCatalogCartsProcessor extends AbstractServiceNowP
     private void retrieveCarts(Exchange exchange) throws Exception {
         final Message in = exchange.getIn();
         final Class<?> responseModel = getResponseModel(in);
-        final String apiVersion  =getApiVersion(in);
+        final String apiVersion = getApiVersion(in);
 
         Response response = client.reset()
             .types(MediaType.APPLICATION_JSON_TYPE)
@@ -84,7 +84,7 @@ class HelsinkiServiceNowServiceCatalogCartsProcessor extends AbstractServiceNowP
     private void retrieveDeliveryAddress(Exchange exchange) throws Exception {
         final Message in = exchange.getIn();
         final Class<?> responseModel = getResponseModel(in);
-        final String apiVersion  =getApiVersion(in);
+        final String apiVersion = getApiVersion(in);
 
         Response response = client.reset()
             .types(MediaType.APPLICATION_JSON_TYPE)
@@ -111,7 +111,7 @@ class HelsinkiServiceNowServiceCatalogCartsProcessor extends AbstractServiceNowP
     private void updateCart(Exchange exchange) throws Exception {
         final Message in = exchange.getIn();
         final Class<?> responseModel = getResponseModel(in);
-        final String apiVersion  =getApiVersion(in);
+        final String apiVersion = getApiVersion(in);
 
         Response response = client.reset()
             .types(MediaType.APPLICATION_JSON_TYPE)
@@ -138,7 +138,7 @@ class HelsinkiServiceNowServiceCatalogCartsProcessor extends AbstractServiceNowP
     private void deleteCart(Exchange exchange) throws Exception {
         final Message in = exchange.getIn();
         final Class<?> responseModel = getResponseModel(in);
-        final String apiVersion  =getApiVersion(in);
+        final String apiVersion = getApiVersion(in);
 
         Response response = client.reset()
             .types(MediaType.APPLICATION_JSON_TYPE)
@@ -169,7 +169,7 @@ class HelsinkiServiceNowServiceCatalogCartsProcessor extends AbstractServiceNowP
     private void retrieveCheckoutCart(Exchange exchange) throws Exception {
         final Message in = exchange.getIn();
         final Class<?> responseModel = getResponseModel(in);
-        final String apiVersion  =getApiVersion(in);
+        final String apiVersion = getApiVersion(in);
 
         Response response = client.reset()
             .types(MediaType.APPLICATION_JSON_TYPE)
@@ -196,7 +196,7 @@ class HelsinkiServiceNowServiceCatalogCartsProcessor extends AbstractServiceNowP
     private void checkoutCart(Exchange exchange) throws Exception {
         final Message in = exchange.getIn();
         final Class<?> responseModel = getResponseModel(in);
-        final String apiVersion  =getApiVersion(in);
+        final String apiVersion = getApiVersion(in);
 
         Response response = client.reset()
             .types(MediaType.APPLICATION_JSON_TYPE)

http://git-wip-us.apache.org/repos/asf/camel/blob/5ee0e619/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowServiceCatalogCategoriesProcessor.java
----------------------------------------------------------------------
diff --git a/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowServiceCatalogCategoriesProcessor.java
b/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowServiceCatalogCategoriesProcessor.java
index c12815c..e81ef73 100644
--- a/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowServiceCatalogCategoriesProcessor.java
+++ b/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowServiceCatalogCategoriesProcessor.java
@@ -51,7 +51,7 @@ class HelsinkiServiceNowServiceCatalogCategoriesProcessor extends AbstractServic
         final Message in = exchange.getIn();
         final Class<?> responseModel = getResponseModel(in);
         final String sysId = getSysID(in);
-        final String apiVersion  =getApiVersion(in);
+        final String apiVersion = getApiVersion(in);
 
         Response response = client.reset()
             .types(MediaType.APPLICATION_JSON_TYPE)

http://git-wip-us.apache.org/repos/asf/camel/blob/5ee0e619/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowServiceCatalogItemsProcessor.java
----------------------------------------------------------------------
diff --git a/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowServiceCatalogItemsProcessor.java
b/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowServiceCatalogItemsProcessor.java
index b8a27ca..f8824ed 100644
--- a/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowServiceCatalogItemsProcessor.java
+++ b/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowServiceCatalogItemsProcessor.java
@@ -62,7 +62,7 @@ class HelsinkiServiceNowServiceCatalogItemsProcessor extends AbstractServiceNowP
         final Message in = exchange.getIn();
         final Class<?> responseModel = getResponseModel(in);
         final String sysId = getSysID(in);
-        final String apiVersion  =getApiVersion(in);
+        final String apiVersion = getApiVersion(in);
 
         Response response = ObjectHelper.isEmpty(sysId)
             ? client.reset()
@@ -106,7 +106,7 @@ class HelsinkiServiceNowServiceCatalogItemsProcessor extends AbstractServiceNowP
         final Message in = exchange.getIn();
         final Class<?> responseModel = getResponseModel(in);
         final String sysId = getSysID(in);
-        final String apiVersion  =getApiVersion(in);
+        final String apiVersion = getApiVersion(in);
 
         Response response =  client.reset()
             .types(MediaType.APPLICATION_JSON_TYPE)
@@ -135,7 +135,7 @@ class HelsinkiServiceNowServiceCatalogItemsProcessor extends AbstractServiceNowP
         final Message in = exchange.getIn();
         final Class<?> responseModel = getResponseModel(in);
         final String sysId = getSysID(in);
-        final String apiVersion  =getApiVersion(in);
+        final String apiVersion = getApiVersion(in);
 
         Response response = client.reset()
             .types(MediaType.APPLICATION_JSON_TYPE)
@@ -163,7 +163,7 @@ class HelsinkiServiceNowServiceCatalogItemsProcessor extends AbstractServiceNowP
         final Message in = exchange.getIn();
         final Class<?> responseModel = getResponseModel(in);
         final String sysId = getSysID(in);
-        final String apiVersion  =getApiVersion(in);
+        final String apiVersion = getApiVersion(in);
 
         Response response = client.reset()
             .types(MediaType.APPLICATION_JSON_TYPE)
@@ -192,7 +192,7 @@ class HelsinkiServiceNowServiceCatalogItemsProcessor extends AbstractServiceNowP
         final Message in = exchange.getIn();
         final Class<?> responseModel = getResponseModel(in);
         final String sysId = getSysID(in);
-        final String apiVersion  =getApiVersion(in);
+        final String apiVersion = getApiVersion(in);
 
         Response response = client.reset()
             .types(MediaType.APPLICATION_JSON_TYPE)

http://git-wip-us.apache.org/repos/asf/camel/blob/5ee0e619/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowServiceCatalogProcessor.java
----------------------------------------------------------------------
diff --git a/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowServiceCatalogProcessor.java
b/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowServiceCatalogProcessor.java
index 520aa37..47d52b1 100644
--- a/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowServiceCatalogProcessor.java
+++ b/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/releases/helsinki/HelsinkiServiceNowServiceCatalogProcessor.java
@@ -55,7 +55,7 @@ class HelsinkiServiceNowServiceCatalogProcessor extends AbstractServiceNowProces
         final Message in = exchange.getIn();
         final Class<?> responseModel = getResponseModel(in);
         final String sysId = getSysID(in);
-        final String apiVersion  =getApiVersion(in);
+        final String apiVersion = getApiVersion(in);
 
         Response response = ObjectHelper.isEmpty(sysId)
             ? client.reset()
@@ -94,7 +94,7 @@ class HelsinkiServiceNowServiceCatalogProcessor extends AbstractServiceNowProces
         final Message in = exchange.getIn();
         final Class<?> responseModel = getResponseModel(in);
         final String sysId = getSysID(in);
-        final String apiVersion  =getApiVersion(in);
+        final String apiVersion = getApiVersion(in);
 
         Response response = client.reset()
             .types(MediaType.APPLICATION_JSON_TYPE)


Mime
View raw message