Repository: camel
Updated Branches:
  refs/heads/camel-2.15.x c2745b327 -> 76abfb4c5


Ignore Checkstyle warnings

Camel 2.15.x uses older, pre-1.7 Java configuration, therefore disabling
Checkstyle warnings for method using try-with-resources.

Signed-off-by: Gregor Zurowski <[email protected]>

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

Branch: refs/heads/camel-2.15.x
Commit: 76abfb4c5475e068a5709609366c0b101c5a0e88
Parents: c2745b3
Author: Gregor Zurowski <[email protected]>
Authored: Sun Mar 27 13:33:20 2016 +0200
Committer: Gregor Zurowski <[email protected]>
Committed: Sun Mar 27 13:33:20 2016 +0200

----------------------------------------------------------------------
 .../org/apache/camel/component/netty4/NettyProducerHangTest.java   | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/76abfb4c/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/NettyProducerHangTest.java
----------------------------------------------------------------------
diff --git 
a/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/NettyProducerHangTest.java
 
b/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/NettyProducerHangTest.java
index 2a23d8e..9a51188 100644
--- 
a/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/NettyProducerHangTest.java
+++ 
b/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/NettyProducerHangTest.java
@@ -64,6 +64,7 @@ public class NettyProducerHangTest extends CamelTestSupport {
         }
     }
 
+    //CHECKSTYLE:OFF
     private void acceptReplyAcceptClose() throws IOException {
         byte buf[] = new byte[128];
 
@@ -89,5 +90,6 @@ public class NettyProducerHangTest extends CamelTestSupport {
         }
         log.info("Close socket");
     }
+    //CHECKSTYLE:ON
 
 }

Reply via email to