You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pp...@apache.org on 2020/03/31 16:04:38 UTC
[camel-quarkus] branch master updated: Fix #963 Build processor
class template may create redundant LOG field
This is an automated email from the ASF dual-hosted git repository.
ppalaga pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/master by this push:
new 529ac7e Fix #963 Build processor class template may create redundant LOG field
529ac7e is described below
commit 529ac7e2fe18ea883780b15ffb52440c523b6682
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Tue Mar 31 17:44:13 2020 +0200
Fix #963 Build processor class template may create redundant LOG field
---
tooling/create-extension-templates/Processor.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tooling/create-extension-templates/Processor.java b/tooling/create-extension-templates/Processor.java
index 14166c8..cc5d10b 100644
--- a/tooling/create-extension-templates/Processor.java
+++ b/tooling/create-extension-templates/Processor.java
@@ -26,7 +26,8 @@ import org.jboss.logging.Logger;
class [=toCapCamelCase(artifactIdBase)]Processor {
- private static final Logger LOG = Logger.getLogger([=toCapCamelCase(artifactIdBase)]Processor.class);
+[#if !nativeSupported ] private static final Logger LOG = Logger.getLogger([=toCapCamelCase(artifactIdBase)]Processor.class);
+[/#if]
private static final String FEATURE = "camel-[=artifactIdBase]";
@BuildStep