This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new a629519 Polished a629519 is described below commit a629519f7319af6967c4e31bb9afbb7ce79ed6bd Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Wed Jun 12 09:49:34 2019 +0200 Polished --- .../spring/boot/actuate/health/CamelHealthAutoConfiguration.java | 5 +++-- .../camel/spring/boot/actuate/health/CamelHealthIndicator.java | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthAutoConfiguration.java b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthAutoConfiguration.java index e2cfb4b..839dc5b 100644 --- a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthAutoConfiguration.java +++ b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthAutoConfiguration.java @@ -35,14 +35,15 @@ import org.springframework.context.annotation.Configuration; @EnableConfigurationProperties(HealthCheckVerboseConfiguration.class) public class CamelHealthAutoConfiguration { - private HealthCheckVerboseConfiguration properties; + private HealthCheckVerboseConfiguration properties; + public CamelHealthAutoConfiguration(HealthCheckVerboseConfiguration configuration) { this.properties = configuration; } @ConditionalOnClass({CamelContext.class}) @ConditionalOnMissingBean(CamelHealthIndicator.class) - protected class CamelHealthIndicatorInitializer { + protected class CamelHealthIndicatorInitializer { @Bean public HealthIndicator camelHealthIndicator(CamelContext camelContext) { diff --git a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthIndicator.java b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthIndicator.java index 47554a9..ff60ea4 100644 --- a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthIndicator.java +++ b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthIndicator.java @@ -28,7 +28,7 @@ import org.springframework.boot.actuate.health.HealthIndicator; public class CamelHealthIndicator extends AbstractHealthIndicator { private final CamelContext camelContext; - private final HealthCheckVerboseConfiguration properties; + private final HealthCheckVerboseConfiguration properties; public CamelHealthIndicator(CamelContext camelContext, HealthCheckVerboseConfiguration properties) { this.camelContext = camelContext;