Repository: camel Updated Branches: refs/heads/master d034c4d26 -> 161fff1fb
CAMEL-10564: Formatting Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/161fff1f Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/161fff1f Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/161fff1f Branch: refs/heads/master Commit: 161fff1fb3a8477563ec44131a38a737bd76ef67 Parents: e9db39c Author: Nicola Ferraro <ni.ferr...@gmail.com> Authored: Tue Dec 13 00:58:57 2016 +0100 Committer: Nicola Ferraro <ni.ferr...@gmail.com> Committed: Tue Dec 13 09:20:58 2016 +0100 ---------------------------------------------------------------------- .../http/springboot/NettyStarterTestHelper.java | 19 +++++++++++++++++++ .../http/springboot/Netty4StarterTestHelper.java | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/161fff1f/components-starter/camel-netty-http-starter/src/test/java/org/apache/camel/component/netty/http/springboot/NettyStarterTestHelper.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-netty-http-starter/src/test/java/org/apache/camel/component/netty/http/springboot/NettyStarterTestHelper.java b/components-starter/camel-netty-http-starter/src/test/java/org/apache/camel/component/netty/http/springboot/NettyStarterTestHelper.java index 6ec4163..ed73f20 100644 --- a/components-starter/camel-netty-http-starter/src/test/java/org/apache/camel/component/netty/http/springboot/NettyStarterTestHelper.java +++ b/components-starter/camel-netty-http-starter/src/test/java/org/apache/camel/component/netty/http/springboot/NettyStarterTestHelper.java @@ -1,3 +1,19 @@ +/** + * 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. + */ package org.apache.camel.component.netty.http.springboot; import java.io.File; @@ -10,6 +26,9 @@ public final class NettyStarterTestHelper { private static volatile int port = -1; + private NettyStarterTestHelper() { + } + private static void initPort() throws Exception { if (port <= 0) { File file = new File("target/nettyport.txt"); http://git-wip-us.apache.org/repos/asf/camel/blob/161fff1f/components-starter/camel-netty4-http-starter/src/test/java/org/apache/camel/component/netty4/http/springboot/Netty4StarterTestHelper.java ---------------------------------------------------------------------- diff --git a/components-starter/camel-netty4-http-starter/src/test/java/org/apache/camel/component/netty4/http/springboot/Netty4StarterTestHelper.java b/components-starter/camel-netty4-http-starter/src/test/java/org/apache/camel/component/netty4/http/springboot/Netty4StarterTestHelper.java index f46b85d..dadfb89 100644 --- a/components-starter/camel-netty4-http-starter/src/test/java/org/apache/camel/component/netty4/http/springboot/Netty4StarterTestHelper.java +++ b/components-starter/camel-netty4-http-starter/src/test/java/org/apache/camel/component/netty4/http/springboot/Netty4StarterTestHelper.java @@ -1,3 +1,19 @@ +/** + * 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. + */ package org.apache.camel.component.netty4.http.springboot; import java.io.File; @@ -10,6 +26,9 @@ public final class Netty4StarterTestHelper { private static volatile int port = -1; + private Netty4StarterTestHelper() { + } + private static void initPort() throws Exception { if (port <= 0) { File file = new File("target/nettyport.txt");