You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2014/07/20 08:53:37 UTC

[31/33] git commit: Fixed CS

Fixed CS


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

Branch: refs/heads/master
Commit: ee558f0cf1c2b95624db6b28407dba8136b54d61
Parents: df7b90c
Author: Claus Ibsen <da...@apache.org>
Authored: Sat Jul 19 09:36:27 2014 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Sat Jul 19 09:38:54 2014 +0200

----------------------------------------------------------------------
 ...ponentConfigurationAndDocumentationTest.java |  2 -
 .../camel/blueprint/BlueprintJaxbRestTest.java  |  7 +--
 .../camel/component/box/BoxConverter.java       | 12 ++---
 .../component/box/AbstractBoxTestSupport.java   | 30 ++++++-----
 ...BoxCollaborationsManagerIntegrationTest.java | 20 ++++----
 .../box/IBoxCommentsManagerIntegrationTest.java | 16 +++---
 .../box/IBoxEventsManagerIntegrationTest.java   |  6 +--
 .../box/IBoxFilesManagerIntegrationTest.java    | 52 ++++++++++----------
 .../box/IBoxFoldersManagerIntegrationTest.java  | 22 ++++-----
 .../box/IBoxGroupsManagerIntegrationTest.java   | 38 +++++++-------
 .../box/IBoxSearchManagerIntegrationTest.java   |  2 +-
 .../IBoxSharedItemsManagerIntegrationTest.java  |  2 +-
 .../box/IBoxUsersManagerIntegrationTest.java    | 32 ++++++------
 ...LongPollingEventsManagerIntegrationTest.java | 33 ++++++++++---
 ...ponentConfigurationAndDocumentationTest.java |  4 +-
 ...ponentConfigurationAndDocumentationTest.java |  4 +-
 .../camel-linkedin/camel-linkedin-api/pom.xml   |  4 +-
 .../camel-linkedin-component/pom.xml            |  2 +-
 components/camel-linkedin/pom.xml               |  2 +-
 .../component/sparkrest/SparkConverter.java     |  3 ++
 20 files changed, 153 insertions(+), 140 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/ee558f0c/components/camel-atmosphere-websocket/src/test/java/org/apache/camel/component/wsservlet/WebsocketComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-atmosphere-websocket/src/test/java/org/apache/camel/component/wsservlet/WebsocketComponentConfigurationAndDocumentationTest.java b/components/camel-atmosphere-websocket/src/test/java/org/apache/camel/component/wsservlet/WebsocketComponentConfigurationAndDocumentationTest.java
index f1e123b..8b74d43 100644
--- a/components/camel-atmosphere-websocket/src/test/java/org/apache/camel/component/wsservlet/WebsocketComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-atmosphere-websocket/src/test/java/org/apache/camel/component/wsservlet/WebsocketComponentConfigurationAndDocumentationTest.java
@@ -24,8 +24,6 @@ import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.test.junit4.CamelTestSupport;
 import org.junit.Test;
 
-import java.util.List;
-
 public class WebsocketComponentConfigurationAndDocumentationTest extends CamelTestSupport {
 
     @Override

http://git-wip-us.apache.org/repos/asf/camel/blob/ee558f0c/components/camel-blueprint/src/test/java/org/apache/camel/blueprint/BlueprintJaxbRestTest.java
----------------------------------------------------------------------
diff --git a/components/camel-blueprint/src/test/java/org/apache/camel/blueprint/BlueprintJaxbRestTest.java b/components/camel-blueprint/src/test/java/org/apache/camel/blueprint/BlueprintJaxbRestTest.java
index 00e4ae4..a8fd5cf 100644
--- a/components/camel-blueprint/src/test/java/org/apache/camel/blueprint/BlueprintJaxbRestTest.java
+++ b/components/camel-blueprint/src/test/java/org/apache/camel/blueprint/BlueprintJaxbRestTest.java
@@ -21,14 +21,15 @@ import javax.xml.bind.Unmarshaller;
 import javax.xml.parsers.DocumentBuilder;
 import javax.xml.parsers.DocumentBuilderFactory;
 
-import org.apache.camel.blueprint.handler.CamelNamespaceHandler;
-import org.apache.camel.test.junit4.TestSupport;
-import org.junit.Test;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 import org.w3c.dom.Node;
 import org.w3c.dom.NodeList;
 
+import org.apache.camel.blueprint.handler.CamelNamespaceHandler;
+import org.apache.camel.test.junit4.TestSupport;
+import org.junit.Test;
+
 public class BlueprintJaxbRestTest extends TestSupport {
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/ee558f0c/components/camel-box/src/main/java/org/apache/camel/component/box/BoxConverter.java
----------------------------------------------------------------------
diff --git a/components/camel-box/src/main/java/org/apache/camel/component/box/BoxConverter.java b/components/camel-box/src/main/java/org/apache/camel/component/box/BoxConverter.java
index be88e06..142b725 100644
--- a/components/camel-box/src/main/java/org/apache/camel/component/box/BoxConverter.java
+++ b/components/camel-box/src/main/java/org/apache/camel/component/box/BoxConverter.java
@@ -16,19 +16,15 @@
  */
 package org.apache.camel.component.box;
 
-import com.box.boxjavalibv2.exceptions.BoxJSONException;
-import com.box.restclientv2.exceptions.BoxRestException;
+import java.io.File;
+import java.io.InputStream;
+
 import com.box.restclientv2.requestsbase.BoxFileUploadRequestObject;
 import org.apache.camel.Converter;
 import org.apache.camel.Exchange;
-import org.apache.camel.NoTypeConversionAvailableException;
 import org.apache.camel.component.box.internal.BoxConstants;
 import org.apache.camel.component.file.GenericFile;
 
-import java.io.File;
-import java.io.IOException;
-import java.io.InputStream;
-
 @Converter
 public final class BoxConverter {
 
@@ -37,7 +33,7 @@ public final class BoxConverter {
     }
 
     @Converter
-    public static BoxFileUploadRequestObject genericFileToBoxFileUploadRequestObject(GenericFile<?> file, Exchange exchange) throws IOException, NoTypeConversionAvailableException, BoxRestException, BoxJSONException {
+    public static BoxFileUploadRequestObject genericFileToBoxFileUploadRequestObject(GenericFile<?> file, Exchange exchange) throws Exception {
         String folderId = "0";
         if (exchange != null) {
             folderId = exchange.getProperty(BoxConstants.PROPERTY_PREFIX + "folderId", "0", String.class);

http://git-wip-us.apache.org/repos/asf/camel/blob/ee558f0c/components/camel-box/src/test/java/org/apache/camel/component/box/AbstractBoxTestSupport.java
----------------------------------------------------------------------
diff --git a/components/camel-box/src/test/java/org/apache/camel/component/box/AbstractBoxTestSupport.java b/components/camel-box/src/test/java/org/apache/camel/component/box/AbstractBoxTestSupport.java
index edcb70c..7bcf809 100644
--- a/components/camel-box/src/test/java/org/apache/camel/component/box/AbstractBoxTestSupport.java
+++ b/components/camel-box/src/test/java/org/apache/camel/component/box/AbstractBoxTestSupport.java
@@ -33,7 +33,6 @@ import com.box.boxjavalibv2.authorization.OAuthRefreshListener;
 import com.box.boxjavalibv2.dao.BoxOAuthToken;
 import com.box.boxjavalibv2.dao.IAuthData;
 import com.box.boxjavalibv2.requests.requestobjects.BoxPagingRequestObject;
-import com.box.restclientv2.requestsbase.BoxDefaultRequestObject;
 import org.apache.camel.CamelContext;
 import org.apache.camel.CamelExecutionException;
 import org.apache.camel.test.junit4.CamelTestSupport;
@@ -45,18 +44,19 @@ public abstract class AbstractBoxTestSupport extends CamelTestSupport {
 
     protected static final String CAMEL_TEST_TAG = "camel_was_here";
     protected static final String CAMEL_TEST_FILE = "CamelTestFile";
+    protected static final BoxPagingRequestObject BOX_PAGING_REQUEST_OBJECT = BoxPagingRequestObject.pagingRequestObject(100, 0);
+
+    protected static String testUserId;
+    protected static String testFolderId;
+    protected static String testFileId;
+
     private static final String LINE_SEPARATOR = System.getProperty("line.separator");
     private static final String TEST_OPTIONS_PROPERTIES = "/test-options.properties";
     private static final String REFRESH_TOKEN_PROPERTY = "refreshToken";
-    protected static final BoxPagingRequestObject BOX_PAGING_REQUEST_OBJECT = BoxPagingRequestObject.pagingRequestObject(100, 0);
-    protected static String testUserId;
 
     private static String refreshToken;
     private static String propertyText;
 
-    protected static String testFolderId;
-    protected static String testFileId;
-
     @Override
     protected CamelContext createCamelContext() throws Exception {
 
@@ -68,7 +68,7 @@ public abstract class AbstractBoxTestSupport extends CamelTestSupport {
         final StringBuilder builder = new StringBuilder();
         final BufferedReader reader = new BufferedReader(new InputStreamReader(in, "UTF-8"));
         String line;
-        while((line = reader.readLine()) != null) {
+        while ((line = reader.readLine()) != null) {
             builder.append(line).append(LINE_SEPARATOR);
         }
         propertyText = builder.toString();
@@ -77,17 +77,16 @@ public abstract class AbstractBoxTestSupport extends CamelTestSupport {
         try {
             properties.load(new StringReader(propertyText));
         } catch (IOException e) {
-            throw new IOException(String.format("%s could not be loaded: %s", TEST_OPTIONS_PROPERTIES, e.getMessage()),
-                e);
+            throw new IOException(String.format("%s could not be loaded: %s", TEST_OPTIONS_PROPERTIES, e.getMessage()), e);
         }
 
-        addSystemProperty("camel.box.userName",     "userName",     properties);
+        addSystemProperty("camel.box.userName", "userName", properties);
         addSystemProperty("camel.box.userPassword", "userPassword", properties);
-        addSystemProperty("camel.box.clientId",     "clientId",     properties);
+        addSystemProperty("camel.box.clientId", "clientId", properties);
         addSystemProperty("camel.box.clientSecret", "clientSecret", properties);
         addSystemProperty("camel.box.refreshToken", "refreshToken", properties);
         addSystemProperty("camel.box.testFolderId", "testFolderId", properties);
-        addSystemProperty("camel.box.testFileId", "testFileId",   properties);
+        addSystemProperty("camel.box.testFileId", "testFileId", properties);
         addSystemProperty("camel.box.testUserId", "testUserId", properties);
 
         // cache test properties
@@ -146,7 +145,7 @@ public abstract class AbstractBoxTestSupport extends CamelTestSupport {
 
     private void addSystemProperty(String sourceName, String targetName, Properties properties) {
         String value = System.getProperty(sourceName);
-        if( value!=null && !value.trim().isEmpty() ) {
+        if (value != null && !value.trim().isEmpty()) {
             properties.put(targetName, value);
         }
     }
@@ -159,7 +158,7 @@ public abstract class AbstractBoxTestSupport extends CamelTestSupport {
         final URL resource = AbstractBoxTestSupport.class.getResource(TEST_OPTIONS_PROPERTIES);
         final FileOutputStream out = new FileOutputStream(new File(resource.getPath()));
         propertyText = propertyText.replaceAll(REFRESH_TOKEN_PROPERTY + "=\\S*",
-            REFRESH_TOKEN_PROPERTY + "=" + refreshToken);
+                REFRESH_TOKEN_PROPERTY + "=" + refreshToken);
         out.write(propertyText.getBytes("UTF-8"));
         out.close();
     }
@@ -170,8 +169,7 @@ public abstract class AbstractBoxTestSupport extends CamelTestSupport {
         return true;
     }
 
-    protected <T> T requestBodyAndHeaders(String endpointUri, Object body, Map<String, Object> headers)
-        throws CamelExecutionException {
+    protected <T> T requestBodyAndHeaders(String endpointUri, Object body, Map<String, Object> headers) throws CamelExecutionException {
         return (T) template().requestBodyAndHeaders(endpointUri, body, headers);
     }
 

http://git-wip-us.apache.org/repos/asf/camel/blob/ee558f0c/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxCollaborationsManagerIntegrationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxCollaborationsManagerIntegrationTest.java b/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxCollaborationsManagerIntegrationTest.java
index 0931481..c57a669 100644
--- a/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxCollaborationsManagerIntegrationTest.java
+++ b/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxCollaborationsManagerIntegrationTest.java
@@ -51,11 +51,11 @@ public class IBoxCollaborationsManagerIntegrationTest extends AbstractBoxTestSup
         headers.put("CamelBox.folderId", testFolderId);
         // parameter type is com.box.boxjavalibv2.requests.requestobjects.BoxCollabRequestObject
         final BoxCollabRequestObject collabObject = BoxCollabRequestObject.createCollabObject(testFolderId, null,
-            "camel.test@localhost.com", BoxCollaborationRole.VIEWER);
+                "camel.test@localhost.com", BoxCollaborationRole.VIEWER);
         headers.put("CamelBox.collabRequest", collabObject);
 
         BoxCollaboration result = requestBodyAndHeaders("direct://CREATECOLLABORATION",
-            null, headers);
+                null, headers);
         assertNotNull("createCollaboration result", result);
         // wait a moment for collaboration to register
         Thread.sleep(2000);
@@ -76,7 +76,7 @@ public class IBoxCollaborationsManagerIntegrationTest extends AbstractBoxTestSup
     public void testGetAllCollaborations() throws Exception {
         // using com.box.boxjavalibv2.requests.requestobjects.BoxGetAllCollabsRequestObject message body for single parameter "getAllCollabsRequest"
         final BoxGetAllCollabsRequestObject collabRequest =
-            BoxGetAllCollabsRequestObject.getAllCollaborationsRequestObject(BoxCollaboration.STATUS_PENDING);
+                BoxGetAllCollabsRequestObject.getAllCollaborationsRequestObject(BoxCollaboration.STATUS_PENDING);
 
         List result = requestBody("direct://GETALLCOLLABORATIONS", collabRequest);
         assertNotNull("getAllCollaborations: " + result);
@@ -93,7 +93,7 @@ public class IBoxCollaborationsManagerIntegrationTest extends AbstractBoxTestSup
             headers.put("CamelBox.collabId", collaboration.getId());
             // parameter type is com.box.restclientv2.requestsbase.BoxDefaultRequestObject
             headers.put("CamelBox.defaultRequest", null);
-            
+
             BoxCollaboration result = requestBodyAndHeaders("direct://GETCOLLABORATION", null, headers);
             assertNotNull("getCollaboration result", result);
             LOG.debug("getCollaboration: " + result);
@@ -113,7 +113,7 @@ public class IBoxCollaborationsManagerIntegrationTest extends AbstractBoxTestSup
             headers.put("CamelBox.collabId", collaboration.getId());
             // parameter type is com.box.boxjavalibv2.requests.requestobjects.BoxCollabRequestObject
             final BoxCollabRequestObject requestObject = BoxCollabRequestObject.updateCollabObjects(
-                BoxCollaborationRole.EDITOR);
+                    BoxCollaborationRole.EDITOR);
             headers.put("CamelBox.collabRequest", requestObject);
 
             BoxCollaboration result = requestBodyAndHeaders("direct://UPDATECOLLABORATION", null, headers);
@@ -130,23 +130,23 @@ public class IBoxCollaborationsManagerIntegrationTest extends AbstractBoxTestSup
             public void configure() {
                 // test route for createCollaboration
                 from("direct://CREATECOLLABORATION")
-                  .to("box://" + PATH_PREFIX + "/createCollaboration");
+                        .to("box://" + PATH_PREFIX + "/createCollaboration");
 
                 // test route for deleteCollaboration
                 from("direct://DELETECOLLABORATION")
-                  .to("box://" + PATH_PREFIX + "/deleteCollaboration");
+                        .to("box://" + PATH_PREFIX + "/deleteCollaboration");
 
                 // test route for getAllCollaborations
                 from("direct://GETALLCOLLABORATIONS")
-                  .to("box://" + PATH_PREFIX + "/getAllCollaborations?inBody=getAllCollabsRequest");
+                        .to("box://" + PATH_PREFIX + "/getAllCollaborations?inBody=getAllCollabsRequest");
 
                 // test route for getCollaboration
                 from("direct://GETCOLLABORATION")
-                  .to("box://" + PATH_PREFIX + "/getCollaboration");
+                        .to("box://" + PATH_PREFIX + "/getCollaboration");
 
                 // test route for updateCollaboration
                 from("direct://UPDATECOLLABORATION")
-                  .to("box://" + PATH_PREFIX + "/updateCollaboration");
+                        .to("box://" + PATH_PREFIX + "/updateCollaboration");
 
             }
         };

http://git-wip-us.apache.org/repos/asf/camel/blob/ee558f0c/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxCommentsManagerIntegrationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxCommentsManagerIntegrationTest.java b/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxCommentsManagerIntegrationTest.java
index eec01ce..2b48517 100644
--- a/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxCommentsManagerIntegrationTest.java
+++ b/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxCommentsManagerIntegrationTest.java
@@ -43,7 +43,7 @@ public class IBoxCommentsManagerIntegrationTest extends AbstractBoxTestSupport {
 
     private BoxComment addComment() throws InterruptedException {
         final BoxCommentRequestObject requestObject =
-            BoxCommentRequestObject.addCommentRequestObject(BoxResourceType.FILE, testFileId, "Camel was here!");
+                BoxCommentRequestObject.addCommentRequestObject(BoxResourceType.FILE, testFileId, "Camel was here!");
 
         BoxComment result = requestBody("direct://ADDCOMMENT", requestObject);
         assertNotNull("addComment result", result);
@@ -52,7 +52,7 @@ public class IBoxCommentsManagerIntegrationTest extends AbstractBoxTestSupport {
     }
 
     @Test
-    public void testAddComment_1() throws Exception {
+    public void testAddComment1() throws Exception {
         final Map<String, Object> headers = new HashMap<String, Object>();
         // parameter type is String
         headers.put("CamelBox.commentedItemId", testFileId);
@@ -103,7 +103,7 @@ public class IBoxCommentsManagerIntegrationTest extends AbstractBoxTestSupport {
             headers.put("CamelBox.commentId", comment.getId());
             // parameter type is com.box.boxjavalibv2.requests.requestobjects.BoxCommentRequestObject
             final BoxCommentRequestObject requestObject =
-                BoxCommentRequestObject.updateCommentRequestObject("Camel was here, again!");
+                    BoxCommentRequestObject.updateCommentRequestObject("Camel was here, again!");
             headers.put("CamelBox.commentRequest", requestObject);
             BoxComment result = requestBodyAndHeaders("direct://UPDATECOMMENT", null, headers);
 
@@ -119,23 +119,23 @@ public class IBoxCommentsManagerIntegrationTest extends AbstractBoxTestSupport {
             public void configure() {
                 // test route for addComment
                 from("direct://ADDCOMMENT")
-                  .to("box://" + PATH_PREFIX + "/addComment?inBody=commentRequest");
+                        .to("box://" + PATH_PREFIX + "/addComment?inBody=commentRequest");
 
                 // test route for addComment
                 from("direct://ADDCOMMENT_1")
-                  .to("box://" + PATH_PREFIX + "/addComment");
+                        .to("box://" + PATH_PREFIX + "/addComment");
 
                 // test route for deleteComment
                 from("direct://DELETECOMMENT")
-                  .to("box://" + PATH_PREFIX + "/deleteComment");
+                        .to("box://" + PATH_PREFIX + "/deleteComment");
 
                 // test route for getComment
                 from("direct://GETCOMMENT")
-                  .to("box://" + PATH_PREFIX + "/getComment");
+                        .to("box://" + PATH_PREFIX + "/getComment");
 
                 // test route for updateComment
                 from("direct://UPDATECOMMENT")
-                  .to("box://" + PATH_PREFIX + "/updateComment");
+                        .to("box://" + PATH_PREFIX + "/updateComment");
 
             }
         };

http://git-wip-us.apache.org/repos/asf/camel/blob/ee558f0c/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxEventsManagerIntegrationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxEventsManagerIntegrationTest.java b/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxEventsManagerIntegrationTest.java
index b771d67..8096fc1 100644
--- a/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxEventsManagerIntegrationTest.java
+++ b/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxEventsManagerIntegrationTest.java
@@ -52,7 +52,7 @@ public class IBoxEventsManagerIntegrationTest extends AbstractBoxTestSupport {
     public void testGetEvents() throws Exception {
         // using com.box.boxjavalibv2.requests.requestobjects.BoxEventRequestObject message body for single parameter "eventRequest"
         final BoxEventRequestObject requestObject =
-            BoxEventRequestObject.getEventsRequestObject(BoxEventRequestObject.STREAM_POSITION_NOW);
+                BoxEventRequestObject.getEventsRequestObject(BoxEventRequestObject.STREAM_POSITION_NOW);
         BoxEventCollection result = requestBody("direct://GETEVENTS", requestObject);
 
         assertNotNull("getEvents result", result);
@@ -65,11 +65,11 @@ public class IBoxEventsManagerIntegrationTest extends AbstractBoxTestSupport {
             public void configure() {
                 // test route for getEventOptions
                 from("direct://GETEVENTOPTIONS")
-                  .to("box://" + PATH_PREFIX + "/getEventOptions?inBody=defaultRequest");
+                        .to("box://" + PATH_PREFIX + "/getEventOptions?inBody=defaultRequest");
 
                 // test route for getEvents
                 from("direct://GETEVENTS")
-                  .to("box://" + PATH_PREFIX + "/getEvents?inBody=eventRequest");
+                        .to("box://" + PATH_PREFIX + "/getEvents?inBody=eventRequest");
 
             }
         };

http://git-wip-us.apache.org/repos/asf/camel/blob/ee558f0c/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxFilesManagerIntegrationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxFilesManagerIntegrationTest.java b/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxFilesManagerIntegrationTest.java
index 00ac056..44e4a7a 100644
--- a/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxFilesManagerIntegrationTest.java
+++ b/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxFilesManagerIntegrationTest.java
@@ -65,7 +65,7 @@ public class IBoxFilesManagerIntegrationTest extends AbstractBoxTestSupport {
         headers.put("CamelBox.fileId", testFileId);
         // parameter type is com.box.boxjavalibv2.requests.requestobjects.BoxItemCopyRequestObject
         final BoxItemCopyRequestObject requestObject =
-            BoxItemCopyRequestObject.copyItemRequestObject("0");
+                BoxItemCopyRequestObject.copyItemRequestObject("0");
         requestObject.setName(CAMEL_TEST_FILE);
         headers.put("CamelBox.itemCopyRequest", requestObject);
         BoxFile result = requestBodyAndHeaders("direct://COPYFILE", null, headers);
@@ -87,7 +87,7 @@ public class IBoxFilesManagerIntegrationTest extends AbstractBoxTestSupport {
             // parameter type is com.box.boxjavalibv2.requests.requestobjects.BoxSharedLinkRequestObject
             final BoxSharedLinkRequestEntity sharedLink = new BoxSharedLinkRequestEntity(BoxSharedLinkAccess.OPEN);
             final BoxSharedLinkRequestObject requestObject =
-                BoxSharedLinkRequestObject.createSharedLinkRequestObject(sharedLink);
+                    BoxSharedLinkRequestObject.createSharedLinkRequestObject(sharedLink);
             headers.put("CamelBox.sharedLinkRequest", requestObject);
 
             BoxFile result = requestBodyAndHeaders("direct://CREATESHAREDLINK", null, headers);
@@ -123,7 +123,7 @@ public class IBoxFilesManagerIntegrationTest extends AbstractBoxTestSupport {
     }
 
     @Test
-    public void testDownloadFile_1() throws Exception {
+    public void testDownloadFile1() throws Exception {
         final Map<String, Object> headers = new HashMap<String, Object>();
         // parameter type is String
         headers.put("CamelBox.fileId", testFileId);
@@ -147,18 +147,18 @@ public class IBoxFilesManagerIntegrationTest extends AbstractBoxTestSupport {
         do {
             bytesTransferred = fileTransferListener.getBytesTransferred();
             Thread.sleep(2000);
-        } while(fileTransferListener.getBytesTransferred() != bytesTransferred);
+        } while (fileTransferListener.getBytesTransferred() != bytesTransferred);
 //        assertEquals("downloadFile status", "success", fileTransferListener.getStatus());
         assertNull("downloadFile exception", fileTransferListener.getException());
     }
 
     @Test
-    public void testDownloadFile_2() throws Exception {
+    public void testDownloadFile2() throws Exception {
         final Map<String, Object> headers = new HashMap<String, Object>();
         // parameter type is String
         headers.put("CamelBox.fileId", testFileId);
         // parameter type is java.io.OutputStream[]
-        final OutputStream[] outputStreams = new OutputStream[] { new ByteArrayOutputStream() } ;
+        final OutputStream[] outputStreams = new OutputStream[]{new ByteArrayOutputStream()};
         headers.put("CamelBox.outputStreams", outputStreams);
         // parameter type is com.box.boxjavalibv2.filetransfer.IFileTransferListener
         final FileTransferListener fileTransferListener = new FileTransferListener();
@@ -283,7 +283,7 @@ public class IBoxFilesManagerIntegrationTest extends AbstractBoxTestSupport {
         headers.put("CamelBox.fileId", testFileId);
         // parameter type is com.box.boxjavalibv2.requests.requestobjects.BoxFileRequestObject
         final BoxFileRequestObject requestObject = BoxFileRequestObject.getRequestObject();
-        requestObject.setTags(new String[] { CAMEL_TEST_TAG });
+        requestObject.setTags(new String[]{CAMEL_TEST_TAG});
         headers.put("CamelBox.fileRequest", requestObject);
         BoxFile result = requestBodyAndHeaders("direct://UPDATEFILEINFO", null, headers);
 
@@ -294,8 +294,8 @@ public class IBoxFilesManagerIntegrationTest extends AbstractBoxTestSupport {
     public BoxFile uploadFile() throws Exception {
         // using com.box.restclientv2.requestsbase.BoxFileUploadRequestObject message body for single parameter "fileUploadRequest"
         final BoxFileUploadRequestObject requestObject =
-            BoxFileUploadRequestObject.uploadFileRequestObject("0", CAMEL_TEST_FILE,
-                getClass().getResourceAsStream(TEST_UPLOAD_FILE));
+                BoxFileUploadRequestObject.uploadFileRequestObject("0", CAMEL_TEST_FILE,
+                        getClass().getResourceAsStream(TEST_UPLOAD_FILE));
         final FileTransferListener fileTransferListener = new FileTransferListener();
         requestObject.setListener(fileTransferListener);
 
@@ -320,8 +320,8 @@ public class IBoxFilesManagerIntegrationTest extends AbstractBoxTestSupport {
             headers.put("CamelBox.fileId", boxFile.getId());
             // parameter type is com.box.restclientv2.requestsbase.BoxFileUploadRequestObject
             final BoxFileUploadRequestObject requestObject =
-                BoxFileUploadRequestObject.uploadNewVersionRequestObject(CAMEL_TEST_FILE,
-                    getClass().getResourceAsStream(TEST_UPLOAD_FILE));
+                    BoxFileUploadRequestObject.uploadNewVersionRequestObject(CAMEL_TEST_FILE,
+                            getClass().getResourceAsStream(TEST_UPLOAD_FILE));
             final FileTransferListener fileTransferListener = new FileTransferListener();
             requestObject.setListener(fileTransferListener);
 
@@ -342,63 +342,63 @@ public class IBoxFilesManagerIntegrationTest extends AbstractBoxTestSupport {
             public void configure() {
                 // test route for copyFile
                 from("direct://COPYFILE")
-                  .to("box://" + PATH_PREFIX + "/copyFile");
+                        .to("box://" + PATH_PREFIX + "/copyFile");
 
                 // test route for createSharedLink
                 from("direct://CREATESHAREDLINK")
-                  .to("box://" + PATH_PREFIX + "/createSharedLink");
+                        .to("box://" + PATH_PREFIX + "/createSharedLink");
 
                 // test route for deleteFile
                 from("direct://DELETEFILE")
-                  .to("box://" + PATH_PREFIX + "/deleteFile");
+                        .to("box://" + PATH_PREFIX + "/deleteFile");
 
                 // test route for downloadFile
                 from("direct://DOWNLOADFILE")
-                  .to("box://" + PATH_PREFIX + "/downloadFile");
+                        .to("box://" + PATH_PREFIX + "/downloadFile");
 
                 // test route for downloadFile
                 from("direct://DOWNLOADFILE_1")
-                  .to("box://" + PATH_PREFIX + "/downloadFile");
+                        .to("box://" + PATH_PREFIX + "/downloadFile");
 
                 // test route for downloadFile
                 from("direct://DOWNLOADFILE_2")
-                  .to("box://" + PATH_PREFIX + "/downloadFile");
+                        .to("box://" + PATH_PREFIX + "/downloadFile");
 
                 // test route for downloadThumbnail
                 from("direct://DOWNLOADTHUMBNAIL")
-                  .to("box://" + PATH_PREFIX + "/downloadThumbnail");
+                        .to("box://" + PATH_PREFIX + "/downloadThumbnail");
 
                 // test route for getFile
                 from("direct://GETFILE")
-                  .to("box://" + PATH_PREFIX + "/getFile");
+                        .to("box://" + PATH_PREFIX + "/getFile");
 
                 // test route for getFileComments
                 from("direct://GETFILECOMMENTS")
-                  .to("box://" + PATH_PREFIX + "/getFileComments");
+                        .to("box://" + PATH_PREFIX + "/getFileComments");
 
                 // test route for getFileVersions
                 from("direct://GETFILEVERSIONS")
-                  .to("box://" + PATH_PREFIX + "/getFileVersions");
+                        .to("box://" + PATH_PREFIX + "/getFileVersions");
 
                 // test route for getPreview
                 from("direct://GETPREVIEW")
-                  .to("box://" + PATH_PREFIX + "/getPreview");
+                        .to("box://" + PATH_PREFIX + "/getPreview");
 
                 // test route for getThumbnail
                 from("direct://GETTHUMBNAIL")
-                  .to("box://" + PATH_PREFIX + "/getThumbnail");
+                        .to("box://" + PATH_PREFIX + "/getThumbnail");
 
                 // test route for updateFileInfo
                 from("direct://UPDATEFILEINFO")
-                  .to("box://" + PATH_PREFIX + "/updateFileInfo");
+                        .to("box://" + PATH_PREFIX + "/updateFileInfo");
 
                 // test route for uploadFile
                 from("direct://UPLOADFILE")
-                  .to("box://" + PATH_PREFIX + "/uploadFile?inBody=fileUploadRequest");
+                        .to("box://" + PATH_PREFIX + "/uploadFile?inBody=fileUploadRequest");
 
                 // test route for uploadNewVersion
                 from("direct://UPLOADNEWVERSION")
-                  .to("box://" + PATH_PREFIX + "/uploadNewVersion");
+                        .to("box://" + PATH_PREFIX + "/uploadNewVersion");
 
             }
         };

http://git-wip-us.apache.org/repos/asf/camel/blob/ee558f0c/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxFoldersManagerIntegrationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxFoldersManagerIntegrationTest.java b/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxFoldersManagerIntegrationTest.java
index 3fb018b..898bc4c 100644
--- a/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxFoldersManagerIntegrationTest.java
+++ b/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxFoldersManagerIntegrationTest.java
@@ -96,9 +96,9 @@ public class IBoxFoldersManagerIntegrationTest extends AbstractBoxTestSupport {
             headers.put("CamelBox.folderId", testFolder.getId());
             // parameter type is com.box.boxjavalibv2.requests.requestobjects.BoxSharedLinkRequestObject
             final BoxSharedLinkRequestEntity sharedLink = new BoxSharedLinkRequestEntity(
-                BoxSharedLinkAccess.COLLABORATORS);
+                    BoxSharedLinkAccess.COLLABORATORS);
             headers.put("CamelBox.sharedLinkRequest",
-                BoxSharedLinkRequestObject.createSharedLinkRequestObject(sharedLink));
+                    BoxSharedLinkRequestObject.createSharedLinkRequestObject(sharedLink));
 
             BoxFolder result = requestBodyAndHeaders("direct://CREATESHAREDLINK", null, headers);
             assertNotNull("createSharedLink result", result);
@@ -180,7 +180,7 @@ public class IBoxFoldersManagerIntegrationTest extends AbstractBoxTestSupport {
             headers.put("CamelBox.folderId", testFolder.getId());
             // parameter type is com.box.boxjavalibv2.requests.requestobjects.BoxFolderRequestObject
             final BoxFolderRequestObject folderRequestObject = BoxFolderRequestObject.getRequestObject();
-            folderRequestObject.setTags(new String[] {CAMEL_TEST_TAG} );
+            folderRequestObject.setTags(new String[]{CAMEL_TEST_TAG});
             folderRequestObject.setName(CAMEL_TEST_COPY_FOLDER);
             headers.put("CamelBox.folderRequest", folderRequestObject);
 
@@ -200,35 +200,35 @@ public class IBoxFoldersManagerIntegrationTest extends AbstractBoxTestSupport {
             public void configure() {
                 // test route for copyFolder
                 from("direct://COPYFOLDER")
-                  .to("box://" + PATH_PREFIX + "/copyFolder");
+                        .to("box://" + PATH_PREFIX + "/copyFolder");
 
                 // test route for createFolder
                 from("direct://CREATEFOLDER")
-                  .to("box://" + PATH_PREFIX + "/createFolder?inBody=folderRequest");
+                        .to("box://" + PATH_PREFIX + "/createFolder?inBody=folderRequest");
 
                 // test route for createSharedLink
                 from("direct://CREATESHAREDLINK")
-                  .to("box://" + PATH_PREFIX + "/createSharedLink");
+                        .to("box://" + PATH_PREFIX + "/createSharedLink");
 
                 // test route for deleteFolder
                 from("direct://DELETEFOLDER")
-                  .to("box://" + PATH_PREFIX + "/deleteFolder");
+                        .to("box://" + PATH_PREFIX + "/deleteFolder");
 
                 // test route for getFolder
                 from("direct://GETFOLDER")
-                  .to("box://" + PATH_PREFIX + "/getFolder");
+                        .to("box://" + PATH_PREFIX + "/getFolder");
 
                 // test route for getFolderCollaborations
                 from("direct://GETFOLDERCOLLABORATIONS")
-                  .to("box://" + PATH_PREFIX + "/getFolderCollaborations");
+                        .to("box://" + PATH_PREFIX + "/getFolderCollaborations");
 
                 // test route for getFolderItems
                 from("direct://GETFOLDERITEMS")
-                  .to("box://" + PATH_PREFIX + "/getFolderItems");
+                        .to("box://" + PATH_PREFIX + "/getFolderItems");
 
                 // test route for updateFolderInfo
                 from("direct://UPDATEFOLDERINFO")
-                  .to("box://" + PATH_PREFIX + "/updateFolderInfo");
+                        .to("box://" + PATH_PREFIX + "/updateFolderInfo");
 
             }
         };

http://git-wip-us.apache.org/repos/asf/camel/blob/ee558f0c/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxGroupsManagerIntegrationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxGroupsManagerIntegrationTest.java b/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxGroupsManagerIntegrationTest.java
index 7207e50..decd6ec 100644
--- a/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxGroupsManagerIntegrationTest.java
+++ b/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxGroupsManagerIntegrationTest.java
@@ -56,7 +56,7 @@ public class IBoxGroupsManagerIntegrationTest extends AbstractBoxTestSupport {
     }
 
     @Test
-    public void testCreateGroup_1() throws Exception {
+    public void testCreateGroup1() throws Exception {
         // using String message body for single parameter "name"
         BoxGroup result = requestBody("direct://CREATEGROUP_1", CAMEL_TEST_GROUP);
 
@@ -69,7 +69,7 @@ public class IBoxGroupsManagerIntegrationTest extends AbstractBoxTestSupport {
     public BoxGroupMembership createMembership(String groupId) throws Exception {
         // using com.box.boxjavalibv2.requests.requestobjects.BoxGroupMembershipRequestObject message body for single parameter "groupMembershipRequest"
         final BoxGroupMembershipRequestObject requestObject =
-            BoxGroupMembershipRequestObject.addMembershipRequestObject(groupId, testUserId, BoxGroupMembership.ROLE_MEMBER);
+                BoxGroupMembershipRequestObject.addMembershipRequestObject(groupId, testUserId, BoxGroupMembership.ROLE_MEMBER);
         BoxGroupMembership result = requestBody("direct://CREATEMEMBERSHIP", requestObject);
 
         assertNotNull("createMembership result", result);
@@ -77,7 +77,7 @@ public class IBoxGroupsManagerIntegrationTest extends AbstractBoxTestSupport {
     }
 
     @Test
-    public void testCreateMembership_1() throws Exception {
+    public void testCreateMembership1() throws Exception {
         final BoxGroup group = createGroup();
 
         try {
@@ -206,7 +206,7 @@ public class IBoxGroupsManagerIntegrationTest extends AbstractBoxTestSupport {
             headers.put("CamelBox.groupId", group.getId());
             // parameter type is com.box.boxjavalibv2.requests.requestobjects.BoxGroupRequestObject
             final BoxGroupRequestObject requestObject =
-                BoxGroupRequestObject.updateGroupRequestObject(CAMEL_TEST_GROUP + "_Updated");
+                    BoxGroupRequestObject.updateGroupRequestObject(CAMEL_TEST_GROUP + "_Updated");
             headers.put("CamelBox.groupRequest", requestObject);
 
             BoxGroup result = requestBodyAndHeaders("direct://UPDATEGROUP", null, headers);
@@ -230,7 +230,7 @@ public class IBoxGroupsManagerIntegrationTest extends AbstractBoxTestSupport {
             headers.put("CamelBox.membershipId", membership.getId());
             // parameter type is com.box.boxjavalibv2.requests.requestobjects.BoxGroupMembershipRequestObject
             final BoxGroupMembershipRequestObject requestObject =
-                BoxGroupMembershipRequestObject.updateMembershipRequestObject(BoxGroupMembership.ROLE_ADMIN);
+                    BoxGroupMembershipRequestObject.updateMembershipRequestObject(BoxGroupMembership.ROLE_ADMIN);
             headers.put("CamelBox.groupMembershipRequest", requestObject);
 
             BoxGroupMembership result = requestBodyAndHeaders("direct://UPDATEMEMBERSHIP", null, headers);
@@ -243,7 +243,7 @@ public class IBoxGroupsManagerIntegrationTest extends AbstractBoxTestSupport {
     }
 
     @Test
-    public void testUpdateMembership_1() throws Exception {
+    public void testUpdateMembership1() throws Exception {
         final BoxGroup group = createGroup();
 
         try {
@@ -270,55 +270,55 @@ public class IBoxGroupsManagerIntegrationTest extends AbstractBoxTestSupport {
             public void configure() {
                 // test route for createGroup
                 from("direct://CREATEGROUP")
-                  .to("box://" + PATH_PREFIX + "/createGroup?inBody=groupRequest");
+                        .to("box://" + PATH_PREFIX + "/createGroup?inBody=groupRequest");
 
                 // test route for createGroup
                 from("direct://CREATEGROUP_1")
-                  .to("box://" + PATH_PREFIX + "/createGroup?inBody=name");
+                        .to("box://" + PATH_PREFIX + "/createGroup?inBody=name");
 
                 // test route for createMembership
                 from("direct://CREATEMEMBERSHIP")
-                  .to("box://" + PATH_PREFIX + "/createMembership?inBody=groupMembershipRequest");
+                        .to("box://" + PATH_PREFIX + "/createMembership?inBody=groupMembershipRequest");
 
                 // test route for createMembership
                 from("direct://CREATEMEMBERSHIP_1")
-                  .to("box://" + PATH_PREFIX + "/createMembership");
+                        .to("box://" + PATH_PREFIX + "/createMembership");
 
                 // test route for deleteGroup
                 from("direct://DELETEGROUP")
-                  .to("box://" + PATH_PREFIX + "/deleteGroup");
+                        .to("box://" + PATH_PREFIX + "/deleteGroup");
 
                 // test route for deleteMembership
                 from("direct://DELETEMEMBERSHIP")
-                  .to("box://" + PATH_PREFIX + "/deleteMembership");
+                        .to("box://" + PATH_PREFIX + "/deleteMembership");
 
                 // test route for getAllCollaborations
                 from("direct://GETALLCOLLABORATIONS")
-                  .to("box://" + PATH_PREFIX + "/getAllCollaborations");
+                        .to("box://" + PATH_PREFIX + "/getAllCollaborations");
 
                 // test route for getAllGroups
                 from("direct://GETALLGROUPS")
-                  .to("box://" + PATH_PREFIX + "/getAllGroups?inBody=defaultRequest");
+                        .to("box://" + PATH_PREFIX + "/getAllGroups?inBody=defaultRequest");
 
                 // test route for getMembership
                 from("direct://GETMEMBERSHIP")
-                  .to("box://" + PATH_PREFIX + "/getMembership");
+                        .to("box://" + PATH_PREFIX + "/getMembership");
 
                 // test route for getMemberships
                 from("direct://GETMEMBERSHIPS")
-                  .to("box://" + PATH_PREFIX + "/getMemberships");
+                        .to("box://" + PATH_PREFIX + "/getMemberships");
 
                 // test route for updateGroup
                 from("direct://UPDATEGROUP")
-                  .to("box://" + PATH_PREFIX + "/updateGroup");
+                        .to("box://" + PATH_PREFIX + "/updateGroup");
 
                 // test route for updateMembership
                 from("direct://UPDATEMEMBERSHIP")
-                  .to("box://" + PATH_PREFIX + "/updateMembership");
+                        .to("box://" + PATH_PREFIX + "/updateMembership");
 
                 // test route for updateMembership
                 from("direct://UPDATEMEMBERSHIP_1")
-                  .to("box://" + PATH_PREFIX + "/updateMembership");
+                        .to("box://" + PATH_PREFIX + "/updateMembership");
 
             }
         };

http://git-wip-us.apache.org/repos/asf/camel/blob/ee558f0c/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxSearchManagerIntegrationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxSearchManagerIntegrationTest.java b/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxSearchManagerIntegrationTest.java
index 5423076..09650cb 100644
--- a/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxSearchManagerIntegrationTest.java
+++ b/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxSearchManagerIntegrationTest.java
@@ -58,7 +58,7 @@ public class IBoxSearchManagerIntegrationTest extends AbstractBoxTestSupport {
             public void configure() {
                 // test route for search
                 from("direct://SEARCH")
-                  .to("box://" + PATH_PREFIX + "/search");
+                        .to("box://" + PATH_PREFIX + "/search");
 
             }
         };

http://git-wip-us.apache.org/repos/asf/camel/blob/ee558f0c/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxSharedItemsManagerIntegrationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxSharedItemsManagerIntegrationTest.java b/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxSharedItemsManagerIntegrationTest.java
index 5017953..24bd890 100644
--- a/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxSharedItemsManagerIntegrationTest.java
+++ b/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxSharedItemsManagerIntegrationTest.java
@@ -47,7 +47,7 @@ public class IBoxSharedItemsManagerIntegrationTest extends AbstractBoxTestSuppor
             public void configure() {
                 // test route for getSharedItem
                 from("direct://GETSHAREDITEM")
-                  .to("box://" + PATH_PREFIX + "/getSharedItem?inBody=defaultRequest");
+                        .to("box://" + PATH_PREFIX + "/getSharedItem?inBody=defaultRequest");
 
             }
         };

http://git-wip-us.apache.org/repos/asf/camel/blob/ee558f0c/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxUsersManagerIntegrationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxUsersManagerIntegrationTest.java b/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxUsersManagerIntegrationTest.java
index 11a77db..a264178 100644
--- a/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxUsersManagerIntegrationTest.java
+++ b/components/camel-box/src/test/java/org/apache/camel/component/box/IBoxUsersManagerIntegrationTest.java
@@ -61,7 +61,7 @@ public class IBoxUsersManagerIntegrationTest extends AbstractBoxTestSupport {
         headers.put("CamelBox.userId", testUserId);
         // parameter type is com.box.boxjavalibv2.requests.requestobjects.BoxEmailAliasRequestObject
         final BoxEmailAliasRequestObject requestObject =
-            BoxEmailAliasRequestObject.addEmailAliasRequestObject(CAMEL_EMAIL_ALIAS);
+                BoxEmailAliasRequestObject.addEmailAliasRequestObject(CAMEL_EMAIL_ALIAS);
         headers.put("CamelBox.emailAliasRequest", requestObject);
 
         BoxEmailAlias result = requestBodyAndHeaders("direct://ADDEMAILALIAS", null, headers);
@@ -75,7 +75,7 @@ public class IBoxUsersManagerIntegrationTest extends AbstractBoxTestSupport {
     public BoxUser createEnterpriseUser() throws Exception {
         // using com.box.boxjavalibv2.requests.requestobjects.BoxUserRequestObject message body for single parameter "userRequest"
         final BoxUserRequestObject enterpriseUserRequestObject =
-            BoxUserRequestObject.createEnterpriseUserRequestObject(CAMEL_EMAIL_ALIAS, CAMEL_USER_NAME);
+                BoxUserRequestObject.createEnterpriseUserRequestObject(CAMEL_EMAIL_ALIAS, CAMEL_USER_NAME);
         BoxUser result = requestBody("direct://CREATEENTERPRISEUSER", enterpriseUserRequestObject);
 
         assertNotNull("createEnterpriseUser result", result);
@@ -100,7 +100,7 @@ public class IBoxUsersManagerIntegrationTest extends AbstractBoxTestSupport {
         headers.put("CamelBox.userId", userId);
         // parameter type is com.box.boxjavalibv2.requests.requestobjects.BoxUserDeleteRequestObject
         final BoxUserDeleteRequestObject requestObject =
-            BoxUserDeleteRequestObject.deleteEnterpriseUserRequestObject(false, true);
+                BoxUserDeleteRequestObject.deleteEnterpriseUserRequestObject(false, true);
         headers.put("CamelBox.userDeleteRequest", requestObject);
 
         requestBodyAndHeaders("direct://DELETEENTERPRISEUSER", null, headers);
@@ -173,7 +173,7 @@ public class IBoxUsersManagerIntegrationTest extends AbstractBoxTestSupport {
         headers.put("CamelBox.folderId", testFolderId);
         // parameter type is com.box.boxjavalibv2.requests.requestobjects.BoxSimpleUserRequestObject
         final BoxSimpleUserRequestObject requestObject =
-            BoxSimpleUserRequestObject.moveFolderToAnotherUserRequestEntity(toUserId, false);
+                BoxSimpleUserRequestObject.moveFolderToAnotherUserRequestEntity(toUserId, false);
         headers.put("CamelBox.simpleUserRequest", requestObject);
 
         BoxFolder result = requestBodyAndHeaders("direct://MOVEFOLDERTOANOTHERUSER", null, headers);
@@ -192,7 +192,7 @@ public class IBoxUsersManagerIntegrationTest extends AbstractBoxTestSupport {
             headers.put("CamelBox.userId", enterpriseUser.getId());
             // parameter type is com.box.boxjavalibv2.requests.requestobjects.BoxUserRequestObject
             final BoxUserRequestObject requestObject =
-                BoxUserRequestObject.updateUserInfoRequestObject(false);
+                    BoxUserRequestObject.updateUserInfoRequestObject(false);
             requestObject.setJobTitle(CAMEL_JOB_TITLE);
             headers.put("CamelBox.userRequest", requestObject);
 
@@ -217,7 +217,7 @@ public class IBoxUsersManagerIntegrationTest extends AbstractBoxTestSupport {
             headers.put("CamelBox.userId", enterpriseUser.getId());
             // parameter type is com.box.boxjavalibv2.requests.requestobjects.BoxUserUpdateLoginRequestObject
             final BoxUserUpdateLoginRequestObject requestObject =
-                BoxUserUpdateLoginRequestObject.updateUserPrimaryLoginRequestObject(UPDATED_EMAIL_ALIAS);
+                    BoxUserUpdateLoginRequestObject.updateUserPrimaryLoginRequestObject(UPDATED_EMAIL_ALIAS);
             headers.put("CamelBox.userUpdateLoginRequest", requestObject);
 
             BoxUser result = requestBodyAndHeaders("direct://UPDATEUSERPRIMARYLOGIN", null, headers);
@@ -236,43 +236,43 @@ public class IBoxUsersManagerIntegrationTest extends AbstractBoxTestSupport {
             public void configure() {
                 // test route for addEmailAlias
                 from("direct://ADDEMAILALIAS")
-                  .to("box://" + PATH_PREFIX + "/addEmailAlias");
+                        .to("box://" + PATH_PREFIX + "/addEmailAlias");
 
                 // test route for createEnterpriseUser
                 from("direct://CREATEENTERPRISEUSER")
-                  .to("box://" + PATH_PREFIX + "/createEnterpriseUser?inBody=userRequest");
+                        .to("box://" + PATH_PREFIX + "/createEnterpriseUser?inBody=userRequest");
 
                 // test route for deleteEmailAlias
                 from("direct://DELETEEMAILALIAS")
-                  .to("box://" + PATH_PREFIX + "/deleteEmailAlias");
+                        .to("box://" + PATH_PREFIX + "/deleteEmailAlias");
 
                 // test route for deleteEnterpriseUser
                 from("direct://DELETEENTERPRISEUSER")
-                  .to("box://" + PATH_PREFIX + "/deleteEnterpriseUser");
+                        .to("box://" + PATH_PREFIX + "/deleteEnterpriseUser");
 
                 // test route for getAllEnterpriseUser
                 from("direct://GETALLENTERPRISEUSER")
-                  .to("box://" + PATH_PREFIX + "/getAllEnterpriseUser");
+                        .to("box://" + PATH_PREFIX + "/getAllEnterpriseUser");
 
                 // test route for getCurrentUser
                 from("direct://GETCURRENTUSER")
-                  .to("box://" + PATH_PREFIX + "/getCurrentUser?inBody=defaultRequest");
+                        .to("box://" + PATH_PREFIX + "/getCurrentUser?inBody=defaultRequest");
 
                 // test route for getEmailAliases
                 from("direct://GETEMAILALIASES")
-                  .to("box://" + PATH_PREFIX + "/getEmailAliases");
+                        .to("box://" + PATH_PREFIX + "/getEmailAliases");
 
                 // test route for moveFolderToAnotherUser
                 from("direct://MOVEFOLDERTOANOTHERUSER")
-                  .to("box://" + PATH_PREFIX + "/moveFolderToAnotherUser");
+                        .to("box://" + PATH_PREFIX + "/moveFolderToAnotherUser");
 
                 // test route for updateUserInformaiton
                 from("direct://UPDATEUSERINFORMAITON")
-                  .to("box://" + PATH_PREFIX + "/updateUserInformaiton");
+                        .to("box://" + PATH_PREFIX + "/updateUserInformaiton");
 
                 // test route for updateUserPrimaryLogin
                 from("direct://UPDATEUSERPRIMARYLOGIN")
-                  .to("box://" + PATH_PREFIX + "/updateUserPrimaryLogin");
+                        .to("box://" + PATH_PREFIX + "/updateUserPrimaryLogin");
 
             }
         };

http://git-wip-us.apache.org/repos/asf/camel/blob/ee558f0c/components/camel-box/src/test/java/org/apache/camel/component/box/LongPollingEventsManagerIntegrationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-box/src/test/java/org/apache/camel/component/box/LongPollingEventsManagerIntegrationTest.java b/components/camel-box/src/test/java/org/apache/camel/component/box/LongPollingEventsManagerIntegrationTest.java
index 9502152..ecef86a 100644
--- a/components/camel-box/src/test/java/org/apache/camel/component/box/LongPollingEventsManagerIntegrationTest.java
+++ b/components/camel-box/src/test/java/org/apache/camel/component/box/LongPollingEventsManagerIntegrationTest.java
@@ -1,6 +1,23 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 /*
  * Camel Api Route test generated by camel-component-util-maven-plugin
- * Generated on: Mon Jun 30 14:29:45 PDT 2014
+ * Generated on: Tue Jun 24 22:42:08 PDT 2014
  */
 package org.apache.camel.component.box;
 
@@ -63,17 +80,17 @@ public class LongPollingEventsManagerIntegrationTest extends AbstractBoxTestSupp
         for (Exchange exchange : exchanges) {
 
             assertNotNull("poll result " + BoxConstants.CHUNK_SIZE_PROPERTY,
-                exchange.getIn().getHeader(BoxConstants.CHUNK_SIZE_PROPERTY));
+                    exchange.getIn().getHeader(BoxConstants.CHUNK_SIZE_PROPERTY));
             assertNotNull("poll result " + BoxConstants.NEXT_STREAM_POSITION_PROPERTY,
-                exchange.getIn().getHeader(BoxConstants.NEXT_STREAM_POSITION_PROPERTY));
+                    exchange.getIn().getHeader(BoxConstants.NEXT_STREAM_POSITION_PROPERTY));
 
             final Object body = exchange.getIn().getBody();
             assertNotNull("poll result body", body);
             assertEquals("poll result body type", BoxEvent.class, body.getClass());
 
-            final String eventType = ((BoxEvent)body).getEventType();
+            final String eventType = ((BoxEvent) body).getEventType();
             assertTrue("poll result type",
-                BoxEvent.EVENT_TYPE_ITEM_COPY.equals(eventType) || BoxEvent.EVENT_TYPE_ITEM_TRASH.equals(eventType));
+                    BoxEvent.EVENT_TYPE_ITEM_COPY.equals(eventType) || BoxEvent.EVENT_TYPE_ITEM_TRASH.equals(eventType));
         }
     }
 
@@ -83,15 +100,15 @@ public class LongPollingEventsManagerIntegrationTest extends AbstractBoxTestSupp
             public void configure() {
                 // test route for copyFile
                 from("direct://COPYFILE")
-                    .to("box://" + BoxApiName.FILES.getName() + "/copyFile");
+                        .to("box://" + BoxApiName.FILES.getName() + "/copyFile");
 
                 // test route for deleteFile
                 from("direct://DELETEFILE")
-                    .to("box://" + BoxApiName.FILES.getName() + "/deleteFile");
+                        .to("box://" + BoxApiName.FILES.getName() + "/deleteFile");
 
                 // test route for poll
                 from("box://" + BoxApiName.POLL_EVENTS.getName() + "/poll?streamPosition=-1&streamType=all&limit=100")
-                    .to("mock:boxEvents");
+                        .to("mock:boxEvents");
 
             }
         };

http://git-wip-us.apache.org/repos/asf/camel/blob/ee558f0c/components/camel-gae/src/test/java/org/apache/camel/component/gae/http/GHttpComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-gae/src/test/java/org/apache/camel/component/gae/http/GHttpComponentConfigurationAndDocumentationTest.java b/components/camel-gae/src/test/java/org/apache/camel/component/gae/http/GHttpComponentConfigurationAndDocumentationTest.java
index b903ceb..013c736 100644
--- a/components/camel-gae/src/test/java/org/apache/camel/component/gae/http/GHttpComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-gae/src/test/java/org/apache/camel/component/gae/http/GHttpComponentConfigurationAndDocumentationTest.java
@@ -34,8 +34,8 @@ public class GHttpComponentConfigurationAndDocumentationTest extends CamelTestSu
     @Test
     public void testComponentConfiguration() throws Exception {
         GHttpComponent comp = context.getComponent("ghttp", GHttpComponent.class);
-        EndpointConfiguration conf = comp.createConfiguration("ghttp://somewhere.com:9090/path?" +
-                "bridgeEndpoint=false&throwExceptionOnFailure=false");
+        EndpointConfiguration conf = comp.createConfiguration("ghttp://somewhere.com:9090/path?"
+                + "bridgeEndpoint=false&throwExceptionOnFailure=false");
 
         assertEquals("false", conf.getParameter("bridgeEndpoint"));
         assertEquals("false", conf.getParameter("throwExceptionOnFailure"));

http://git-wip-us.apache.org/repos/asf/camel/blob/ee558f0c/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/JettyHttpComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/JettyHttpComponentConfigurationAndDocumentationTest.java b/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/JettyHttpComponentConfigurationAndDocumentationTest.java
index 976700d..098c04e 100644
--- a/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/JettyHttpComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/JettyHttpComponentConfigurationAndDocumentationTest.java
@@ -34,8 +34,8 @@ public class JettyHttpComponentConfigurationAndDocumentationTest extends CamelTe
     @Test
     public void testComponentConfiguration() throws Exception {
         JettyHttpComponent comp = context.getComponent("jetty", JettyHttpComponent.class);
-        EndpointConfiguration conf = comp.createConfiguration("jetty://http://localhost:8080/myapp?" +
-                "httpClientMinThreads=4&httpClientMaxThreads=8");
+        EndpointConfiguration conf = comp.createConfiguration("jetty://http://localhost:8080/myapp?"
+                + "httpClientMinThreads=4&httpClientMaxThreads=8");
 
         assertEquals("4", conf.getParameter("httpClientMinThreads"));
         assertEquals("8", conf.getParameter("httpClientMaxThreads"));

http://git-wip-us.apache.org/repos/asf/camel/blob/ee558f0c/components/camel-linkedin/camel-linkedin-api/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-linkedin/camel-linkedin-api/pom.xml b/components/camel-linkedin/camel-linkedin-api/pom.xml
index 012d04f..647bea8 100644
--- a/components/camel-linkedin/camel-linkedin-api/pom.xml
+++ b/components/camel-linkedin/camel-linkedin-api/pom.xml
@@ -26,8 +26,8 @@
   </parent>
 
   <artifactId>camel-linkedin-api</artifactId>
-  <name>Camel LinkedIn Component API</name>
-  <description>API for Camel LinkedIn Component</description>
+  <name>Camel :: LinkedIn Component API</name>
+  <description>Camel API for LinkedIn</description>
   <packaging>bundle</packaging>
 
   <properties>

http://git-wip-us.apache.org/repos/asf/camel/blob/ee558f0c/components/camel-linkedin/camel-linkedin-component/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-linkedin/camel-linkedin-component/pom.xml b/components/camel-linkedin/camel-linkedin-component/pom.xml
index 42311e2..569dcfa 100644
--- a/components/camel-linkedin/camel-linkedin-component/pom.xml
+++ b/components/camel-linkedin/camel-linkedin-component/pom.xml
@@ -27,7 +27,7 @@
 
   <artifactId>camel-linkedin</artifactId>
   <packaging>bundle</packaging>
-  <name>Camel LinkedIn Component</name>
+  <name>Camel :: LinkedIn Component</name>
   <description>Camel Component for LinkedIn</description>
 
   <properties>

http://git-wip-us.apache.org/repos/asf/camel/blob/ee558f0c/components/camel-linkedin/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-linkedin/pom.xml b/components/camel-linkedin/pom.xml
index 7398fb7..1e0a984 100644
--- a/components/camel-linkedin/pom.xml
+++ b/components/camel-linkedin/pom.xml
@@ -30,7 +30,7 @@
   <packaging>pom</packaging>
   <version>2.14-SNAPSHOT</version>
 
-  <name>Camel LinkedIn Component Parent</name>
+  <name>Camel :: LinkedIn Component Parent</name>
   <description>Parent project for Camel {LinkedIn} Component</description>
 
   <modules>

http://git-wip-us.apache.org/repos/asf/camel/blob/ee558f0c/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/SparkConverter.java
----------------------------------------------------------------------
diff --git a/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/SparkConverter.java b/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/SparkConverter.java
index 1d977a0..fb95f0d 100644
--- a/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/SparkConverter.java
+++ b/components/camel-spark-rest/src/main/java/org/apache/camel/component/sparkrest/SparkConverter.java
@@ -26,6 +26,9 @@ import spark.Response;
 @Converter
 public final class SparkConverter {
 
+    private SparkConverter() {
+    }
+
     /**
      * A fallback converter that allows us to easily call Java beans and use the raw Spark {@link Request} as parameter types.
      */