This is an automated email from the ASF dual-hosted git repository.
acosentino 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 0a125cd0963 Regen for commit b1d7d073f31a81e6d8ed0158461bec903d778b20
0a125cd0963 is described below
commit 0a125cd096316d2617bab369fa972112e2637866
Author: davsclaus <[email protected]>
AuthorDate: Thu Sep 1 10:17:02 2022 +0000
Regen for commit b1d7d073f31a81e6d8ed0158461bec903d778b20
Signed-off-by: GitHub <[email protected]>
---
.../src/main/java/org/apache/camel/health/HealthCheckHelper.java | 9 +++++----
.../java/org/apache/camel/impl/console/HealthDevConsole.java | 1 -
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git
a/core/camel-api/src/main/java/org/apache/camel/health/HealthCheckHelper.java
b/core/camel-api/src/main/java/org/apache/camel/health/HealthCheckHelper.java
index 1a72557e6a2..4aaa255c2ca 100644
---
a/core/camel-api/src/main/java/org/apache/camel/health/HealthCheckHelper.java
+++
b/core/camel-api/src/main/java/org/apache/camel/health/HealthCheckHelper.java
@@ -54,11 +54,12 @@ public final class HealthCheckHelper {
/**
* Invokes all the checks and returns a collection of results.
*
- * @param camelContext the camel context
+ * @param camelContext the camel context
* @param exposureLevel level of exposure (full, oneline or default)
*/
public static Collection<HealthCheck.Result> invoke(CamelContext
camelContext, String exposureLevel) {
- return invoke(camelContext, check -> Map.of(HealthCheck.CHECK_KIND,
HealthCheck.Kind.ALL), check -> false, exposureLevel);
+ return invoke(camelContext, check -> Map.of(HealthCheck.CHECK_KIND,
HealthCheck.Kind.ALL), check -> false,
+ exposureLevel);
}
/**
@@ -72,7 +73,7 @@ public final class HealthCheckHelper {
/**
* Invokes the readiness checks and returns a collection of results.
*
- * @param camelContext the camel context
+ * @param camelContext the camel context
* @param exposureLevel level of exposure (full, oneline or default)
*/
public static Collection<HealthCheck.Result> invokeReadiness(CamelContext
camelContext, String exposureLevel) {
@@ -91,7 +92,7 @@ public final class HealthCheckHelper {
/**
* Invokes the liveness checks and returns a collection of results.
*
- * @param camelContext the camel context
+ * @param camelContext the camel context
* @param exposureLevel level of exposure (full, oneline or default)
*/
public static Collection<HealthCheck.Result> invokeLiveness(CamelContext
camelContext, String exposureLevel) {
diff --git
a/core/camel-console/src/main/java/org/apache/camel/impl/console/HealthDevConsole.java
b/core/camel-console/src/main/java/org/apache/camel/impl/console/HealthDevConsole.java
index 6288aea7d6d..340db067616 100644
---
a/core/camel-console/src/main/java/org/apache/camel/impl/console/HealthDevConsole.java
+++
b/core/camel-console/src/main/java/org/apache/camel/impl/console/HealthDevConsole.java
@@ -19,7 +19,6 @@ package org.apache.camel.impl.console;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.Collection;
-import java.util.Comparator;
import java.util.Map;
import java.util.stream.Stream;