CAMEL-10385: fix checkstyle errors

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

Branch: refs/heads/master
Commit: b3848d6f5c011673f81519e4c7fc71cedc87c5a3
Parents: 50ea01a
Author: dmitriy <xhu...@gmail.com>
Authored: Thu Oct 13 09:44:17 2016 -0400
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Fri Oct 14 09:33:15 2016 +0200

----------------------------------------------------------------------
 .../spring/boot/issues/SimpleOgnlTest.java      | 66 ++++++++++++--------
 1 file changed, 41 insertions(+), 25 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/b3848d6f/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/issues/SimpleOgnlTest.java
----------------------------------------------------------------------
diff --git 
a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/issues/SimpleOgnlTest.java
 
b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/issues/SimpleOgnlTest.java
index 99fcd66..969ad50 100644
--- 
a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/issues/SimpleOgnlTest.java
+++ 
b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/issues/SimpleOgnlTest.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.spring.boot.issues;
 
 import java.util.ArrayList;
@@ -18,36 +34,36 @@ import org.springframework.test.context.junit4.SpringRunner;
 
 @RunWith(SpringRunner.class)
 @EnableAutoConfiguration
-@SpringBootTest(classes = {SimpleOgnlTest.class})
+@SpringBootTest(classes = { SimpleOgnlTest.class })
 public class SimpleOgnlTest {
        @EndpointInject(uri = "mock:result")
-    protected MockEndpoint resultEndpoint;
- 
-    @Produce(uri = "direct:start")
-    protected ProducerTemplate template;
-    
+       protected MockEndpoint resultEndpoint;
+
+       @Produce(uri = "direct:start")
+       protected ProducerTemplate template;
+
        @Test
-    public void testSimpleOgnlListExpression() throws Exception {
+       public void testSimpleOgnlListExpression() throws Exception {
                List<String> list = new ArrayList<String>();
                list.add("one");
                list.add("two");
- 
-        resultEndpoint.expectedBodiesReceived(list.get(0));
- 
-        template.sendBody(list);
- 
-        resultEndpoint.assertIsSatisfied();
-    }
-       
+
+               resultEndpoint.expectedBodiesReceived(list.get(0));
+
+               template.sendBody(list);
+
+               resultEndpoint.assertIsSatisfied();
+       }
+
        @Configuration
-    public static class ContextConfig {
-        @Bean
-        public RouteBuilder route() {
-            return new RouteBuilder() {
-                public void configure() {
-                    
from("direct:start").setBody(simple("${body[0]}")).to("mock:result");
-                }
-            };
-        }
-    }
+       public static class ContextConfig {
+               @Bean
+               public RouteBuilder route() {
+                       return new RouteBuilder() {
+                               public void configure() {
+                                       
from("direct:start").setBody(simple("${body[0]}")).to("mock:result");
+                               }
+                       };
+               }
+       }
 }

Reply via email to