You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/06/03 09:01:21 UTC

[camel] 03/03: (chores) camel-package-maven-plugin: remove unused local variables

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

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

commit 49014c83dd88d73a21f709e1a0c4516b8bc920ac
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Jun 3 10:05:00 2022 +0200

    (chores) camel-package-maven-plugin: remove unused local variables
---
 .../main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java
index 1556baeef52..538775bd537 100644
--- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java
+++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/PrepareCatalogMojo.java
@@ -294,7 +294,7 @@ public class PrepareCatalogMojo extends AbstractMojo {
 
     protected void executeModel() throws Exception {
         Path modelDir = this.modelDir.toPath();
-        Path springDir = this.springDir.toPath();
+        this.springDir.toPath();
         Path modelsOutDir = this.modelsOutDir.toPath();
 
         getLog().info("================================================================================");