This is an automated email from the ASF dual-hosted git repository.
bvahdat pushed a commit to branch CAMEL-18068
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/CAMEL-18068 by this push:
new d9904dc86c5 fix checktyle in camel-jbang-core
d9904dc86c5 is described below
commit d9904dc86c5306b5fc255af35ad013a609812f7d
Author: Babak Vahdat <[email protected]>
AuthorDate: Fri May 6 19:04:49 2022 +0200
fix checktyle in camel-jbang-core
---
.../main/java/org/apache/camel/dsl/jbang/core/common/RuntimeUtil.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/common/RuntimeUtil.java
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/common/RuntimeUtil.java
index bbee2b684d9..40347204345 100644
---
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/common/RuntimeUtil.java
+++
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/common/RuntimeUtil.java
@@ -24,13 +24,13 @@ import org.slf4j.LoggerFactory;
public final class RuntimeUtil {
- private static final AtomicBoolean initDone = new AtomicBoolean();
+ private static final AtomicBoolean INIT_DONE = new AtomicBoolean();
private RuntimeUtil() {
}
public static void configureLog(String level, boolean color) {
- if (initDone.compareAndSet(false, true)) {
+ if (INIT_DONE.compareAndSet(false, true)) {
if (color) {
Configurator.initialize("CamelJBang", "log4j2.properties");
} else {