camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject camel git commit: fix checkstyle error
Date Wed, 05 Aug 2015 15:04:40 GMT
Repository: camel
Updated Branches:
  refs/heads/master 51c55dea2 -> 4b55c629c


fix checkstyle error


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

Branch: refs/heads/master
Commit: 4b55c629cfa295d5a6f168431b0bd81512b98768
Parents: 51c55de
Author: Akitoshi Yoshida <ay@apache.org>
Authored: Wed Aug 5 17:03:51 2015 +0200
Committer: Akitoshi Yoshida <ay@apache.org>
Committed: Wed Aug 5 17:03:51 2015 +0200

----------------------------------------------------------------------
 .../camel/component/cxf/CxfConsumerTest.java    | 21 ++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/4b55c629/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfConsumerTest.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfConsumerTest.java
b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfConsumerTest.java
index 5d7201e..28cee98 100644
--- a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfConsumerTest.java
+++ b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfConsumerTest.java
@@ -85,16 +85,17 @@ public class CxfConsumerTest extends CamelTestSupport {
                         Map<String, Object> map = new HashMap<String, Object>();
                         map.put("org.apache.cxf.stax.force-start-document", Boolean.TRUE);
                         exchange.getOut().setHeader(Client.RESPONSE_CONTEXT, map);
-                    }})
-                    .when(header(CxfConstants.OPERATION_NAME).isEqualTo(ECHO_BOOLEAN_OPERATION)).process(new
Processor() {
-                        public void process(final Exchange exchange) {
-                            Message in = exchange.getIn();
-                            // Get the parameter list
-                            List<?> parameter = in.getBody(List.class);
-                            // Put the result back
-                            exchange.getOut().setBody(parameter.get(0));
-                        }
-                    });
+                    }
+                })
+                .when(header(CxfConstants.OPERATION_NAME).isEqualTo(ECHO_BOOLEAN_OPERATION)).process(new
Processor() {
+                    public void process(final Exchange exchange) {
+                        Message in = exchange.getIn();
+                        // Get the parameter list
+                        List<?> parameter = in.getBody(List.class);
+                        // Put the result back
+                        exchange.getOut().setBody(parameter.get(0));
+                    }
+                });
             }
         };
     }


Mime
View raw message