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/10/24 10:34:57 UTC
[camel] branch main updated: (chores) camel-health: fixed checkstyle
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
The following commit(s) were added to refs/heads/main by this push:
new 26b8b7c866a (chores) camel-health: fixed checkstyle
26b8b7c866a is described below
commit 26b8b7c866aec14bbabb9cf5f06ac317855ae7a4
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Oct 24 12:34:22 2022 +0200
(chores) camel-health: fixed checkstyle
---
.../java/org/apache/camel/impl/health/AbstractHealthCheck.java | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/core/camel-health/src/main/java/org/apache/camel/impl/health/AbstractHealthCheck.java b/core/camel-health/src/main/java/org/apache/camel/impl/health/AbstractHealthCheck.java
index a5911776d0e..fbfd49bce66 100644
--- a/core/camel-health/src/main/java/org/apache/camel/impl/health/AbstractHealthCheck.java
+++ b/core/camel-health/src/main/java/org/apache/camel/impl/health/AbstractHealthCheck.java
@@ -37,6 +37,9 @@ import org.slf4j.LoggerFactory;
* Base implementation for {@link HealthCheck}.
*/
public abstract class AbstractHealthCheck implements HealthCheck, CamelContextAware {
+ public static final String SERVICE_STATUS_CODE = "service.status.code";
+
+ public static final String SERVICE_ERROR_CODE = "service.error.code";
private static final Logger LOG = LoggerFactory.getLogger(AbstractHealthCheck.class);
@@ -47,10 +50,6 @@ public abstract class AbstractHealthCheck implements HealthCheck, CamelContextAw
private final String id;
private final ConcurrentMap<String, Object> meta;
- public static final String SERVICE_STATUS_CODE = "service.status.code";
-
- public static final String SERVICE_ERROR_CODE = "service.error.code";
-
protected AbstractHealthCheck(String id) {
this(null, id, null);
}