You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/04/01 09:47:17 UTC

[camel] branch master updated: Camel-package-maven-plugin: Fixed CS

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


The following commit(s) were added to refs/heads/master by this push:
     new f919785  Camel-package-maven-plugin: Fixed CS
f919785 is described below

commit f91978565d4ff676eebef5239fc3d7246446bd60
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Apr 1 11:46:31 2020 +0200

    Camel-package-maven-plugin: Fixed CS
---
 .../src/main/java/org/apache/camel/maven/packaging/XRefCheckMojo.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/XRefCheckMojo.java b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/XRefCheckMojo.java
index ab8d237..979d201 100644
--- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/XRefCheckMojo.java
+++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/XRefCheckMojo.java
@@ -123,7 +123,9 @@ public class XRefCheckMojo extends AbstractMojo {
                 String link = m.group("link");
                 String all = m.group("all");
                 String[] groups = link.split(":");
-                String cl, ml, rem;
+                String cl;
+                String ml;
+                String rem;
                 if (groups.length == 3) {
                     cl = groups[0];
                     ml = groups[1].isEmpty() ? "ROOT" : groups[1];