From aba9389b250e86b290def7654cb724e6b8e8f3b0 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Fri, 4 Mar 2016 09:07:22 +0100 Subject: [PATCH] Polish contribution Closes gh-5328 --- .../autoconfigure/HealthIndicatorAutoConfiguration.java | 6 +++--- .../actuate/autoconfigure/HealthIndicatorProperties.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/HealthIndicatorAutoConfiguration.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/HealthIndicatorAutoConfiguration.java index 3b81cb50b8..a7b080f022 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/HealthIndicatorAutoConfiguration.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/HealthIndicatorAutoConfiguration.java @@ -104,14 +104,14 @@ import org.springframework.mail.javamail.JavaMailSenderImpl; public class HealthIndicatorAutoConfiguration { @Autowired - private HealthIndicatorProperties configurationProperties = new HealthIndicatorProperties(); + private HealthIndicatorProperties properties = new HealthIndicatorProperties(); @Bean @ConditionalOnMissingBean(HealthAggregator.class) public OrderedHealthAggregator healthAggregator() { OrderedHealthAggregator healthAggregator = new OrderedHealthAggregator(); - if (this.configurationProperties.getOrder() != null) { - healthAggregator.setStatusOrder(this.configurationProperties.getOrder()); + if (this.properties.getOrder() != null) { + healthAggregator.setStatusOrder(this.properties.getOrder()); } return healthAggregator; } diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/HealthIndicatorProperties.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/HealthIndicatorProperties.java index af6178f426..6588038133 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/HealthIndicatorProperties.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/HealthIndicatorProperties.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.