This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/main by this push:
     new b2361a968fd Fixed CS
b2361a968fd is described below

commit b2361a968fd783a7a7aa4b8abe12b7a7dbe66954
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Dec 2 06:53:51 2022 +0100

    Fixed CS
---
 .../src/test/resources/infinispan.xml                 | 19 +++++++++++++++++++
 .../camel/maven/packaging/PrepareComponentMojo.java   |  3 ++-
 2 files changed, 21 insertions(+), 1 deletion(-)

diff --git 
a/test-infra/camel-test-infra-infinispan/src/test/resources/infinispan.xml 
b/test-infra/camel-test-infra-infinispan/src/test/resources/infinispan.xml
index d066dbfb972..9360f130a4f 100644
--- a/test-infra/camel-test-infra-infinispan/src/test/resources/infinispan.xml
+++ b/test-infra/camel-test-infra-infinispan/src/test/resources/infinispan.xml
@@ -1,3 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    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.
+
+-->
 <infinispan
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xsi:schemaLocation="urn:infinispan:config:14.0 
https://infinispan.org/schemas/infinispan-config-14.0.xsd
diff --git 
a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareComponentMojo.java
 
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareComponentMojo.java
index 4bb0eaa55c0..b37c4fd1428 100644
--- 
a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareComponentMojo.java
+++ 
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareComponentMojo.java
@@ -308,8 +308,9 @@ public class PrepareComponentMojo extends 
AbstractGeneratorMojo {
 
         @Override
         public boolean equals(Object o) {
-            if (this == o)
+            if (this == o) {
                 return true;
+            }
             if (o == null || getClass() != o.getClass()) {
                 return false;
             }

Reply via email to