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 10:30:56 GMT
Repository: camel
Updated Branches:
  refs/heads/master ef6cc96a7 -> 94fd97ebe


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/94fd97eb
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/94fd97eb
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/94fd97eb

Branch: refs/heads/master
Commit: 94fd97ebe5c251fa8abce6ffac4af5c0a7078a23
Parents: ef6cc96
Author: Gregor Zurowski <gregor@zurowski.org>
Authored: Sun Nov 27 11:08:48 2016 +0100
Committer: Gregor Zurowski <gregor@zurowski.org>
Committed: Sun Nov 27 11:28:23 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/component/netty4/BaseNettyTest.java | 7 ++++---
 .../org/apache/camel/component/netty4/LogCaptureTest.java     | 6 +++---
 2 files changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/94fd97eb/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/BaseNettyTest.java
----------------------------------------------------------------------
diff --git a/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/BaseNettyTest.java
b/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/BaseNettyTest.java
index 3bd1431..01f8e70 100644
--- a/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/BaseNettyTest.java
+++ b/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/BaseNettyTest.java
@@ -21,6 +21,9 @@ import java.io.FileOutputStream;
 import java.util.Collection;
 import java.util.Properties;
 
+import io.netty.buffer.ByteBufAllocator;
+import io.netty.util.ResourceLeakDetector;
+
 import org.apache.camel.CamelContext;
 import org.apache.camel.component.properties.PropertiesComponent;
 import org.apache.camel.converter.IOConverter;
@@ -33,8 +36,6 @@ import org.junit.BeforeClass;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-import io.netty.buffer.ByteBufAllocator;
-import io.netty.util.ResourceLeakDetector;
 
 /**
  *
@@ -91,7 +92,7 @@ public class BaseNettyTest extends CamelTestSupport {
         if (!events.isEmpty()) {
             String message = "Leaks detected while running tests: " + events;
             // Just write the message into log to help debug
-            for(LogEvent event: events) {
+            for (LogEvent event: events) {
                 LOG.info(event.getMessage().getFormattedMessage());
             }
             LogCaptureAppender.reset();

http://git-wip-us.apache.org/repos/asf/camel/blob/94fd97eb/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/LogCaptureTest.java
----------------------------------------------------------------------
diff --git a/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/LogCaptureTest.java
b/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/LogCaptureTest.java
index 8ffcb62..a866c28 100644
--- a/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/LogCaptureTest.java
+++ b/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/LogCaptureTest.java
@@ -16,12 +16,12 @@
  */
 package org.apache.camel.component.netty4;
 
-import org.junit.Assert;
-import org.junit.Test;
-
 import io.netty.util.ResourceLeakDetector;
 import io.netty.util.internal.logging.InternalLoggerFactory;
 
+import org.junit.Assert;
+import org.junit.Test;
+
 /**
  * This test ensures LogCaptureAppender is configured properly
  */


Mime
View raw message