camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [camel] 02/02: Camel-AWS XRay: Fixed CS
Date Fri, 09 Mar 2018 06:45:26 GMT
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit ca646feb831774e334c08bb4aa07ee52e142f649
Author: Andrea Cosentino <ancosen@gmail.com>
AuthorDate: Fri Mar 9 07:44:47 2018 +0100

    Camel-AWS XRay: Fixed CS
---
 .../aws/xray/ComprehensiveTrackingTest.java        | 18 ++++++++++++-
 .../camel/component/aws/xray/bean/SomeBean.java    | 31 +++++++++++++++++++---
 2 files changed, 44 insertions(+), 5 deletions(-)

diff --git a/components/camel-aws-xray/src/test/java/org/apache/camel/component/aws/xray/ComprehensiveTrackingTest.java
b/components/camel-aws-xray/src/test/java/org/apache/camel/component/aws/xray/ComprehensiveTrackingTest.java
index 1ff6992..8cb6553 100644
--- a/components/camel-aws-xray/src/test/java/org/apache/camel/component/aws/xray/ComprehensiveTrackingTest.java
+++ b/components/camel-aws-xray/src/test/java/org/apache/camel/component/aws/xray/ComprehensiveTrackingTest.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.aws.xray;
 
 import org.apache.camel.Handler;
@@ -85,7 +101,7 @@ public class ComprehensiveTrackingTest extends CamelAwsXRayTestSupport
{
 
     public static class InvokeChecker {
 
-        private boolean invoked = false;
+        private boolean invoked;
 
         @Handler
         public void invoke() {
diff --git a/components/camel-aws-xray/src/test/java/org/apache/camel/component/aws/xray/bean/SomeBean.java
b/components/camel-aws-xray/src/test/java/org/apache/camel/component/aws/xray/bean/SomeBean.java
index 684f612..4213e40 100644
--- a/components/camel-aws-xray/src/test/java/org/apache/camel/component/aws/xray/bean/SomeBean.java
+++ b/components/camel-aws-xray/src/test/java/org/apache/camel/component/aws/xray/bean/SomeBean.java
@@ -1,13 +1,36 @@
+/**
+ * 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.aws.xray.bean;
 
+import java.util.HashMap;
+import java.util.Map;
+
 import com.amazonaws.xray.AWSXRay;
-import org.apache.camel.*;
+
+import org.apache.camel.CamelContext;
+import org.apache.camel.Endpoint;
+import org.apache.camel.Exchange;
+import org.apache.camel.ExchangePattern;
+import org.apache.camel.Handler;
+import org.apache.camel.Headers;
+import org.apache.camel.ProducerTemplate;
 import org.apache.camel.component.aws.xray.XRayTrace;
 import org.apache.camel.component.aws.xray.XRayTracer;
 
-import java.util.HashMap;
-import java.util.Map;
-
 @XRayTrace
 public class SomeBean {
 

-- 
To stop receiving notification emails like this one, please contact
acosentino@apache.org.

Mime
View raw message