From 895f06fdfa4e2ce75cc8479bd0a69c4a31f6c64a Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 23 May 2017 15:23:38 +0200 Subject: [PATCH] Polish --- .../actuate/endpoint/AutoConfigurationReportEndpointTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/AutoConfigurationReportEndpointTests.java b/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/AutoConfigurationReportEndpointTests.java index f4a7c31f64..839fe417ee 100644 --- a/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/AutoConfigurationReportEndpointTests.java +++ b/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/endpoint/AutoConfigurationReportEndpointTests.java @@ -17,6 +17,7 @@ package org.springframework.boot.actuate.endpoint; import java.util.Arrays; +import java.util.Collections; import javax.annotation.PostConstruct; @@ -79,7 +80,7 @@ public class AutoConfigurationReportEndpointTests report.recordEvaluationCandidates(Arrays.asList("a", "b")); report.recordConditionEvaluation("a", mock(Condition.class), mock(ConditionOutcome.class)); - report.recordExclusions(Arrays.asList("com.foo.Bar")); + report.recordExclusions(Collections.singletonList("com.foo.Bar")); } @Bean