From 8e398e164c8e203f3af76d0dff0542c50401bfa0 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Thu, 12 Sep 2019 15:23:32 -0700 Subject: [PATCH] Fix checkstyle violations --- .../boot/context/properties/bind/BindableTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/BindableTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/BindableTests.java index acb54f6c612..6883dc1eb23 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/BindableTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/BindableTests.java @@ -161,14 +161,14 @@ class BindableTests { } @Test // gh-18218 - public void withExistingValueDoesNotForgetAnnotations() { + void withExistingValueDoesNotForgetAnnotations() { Annotation annotation = AnnotationUtils.synthesizeAnnotation(TestAnnotation.class); Bindable bindable = Bindable.of(String.class).withAnnotations(annotation).withExistingValue(""); assertThat(bindable.getAnnotations()).containsExactly(annotation); } @Test // gh-18218 - public void withSuppliedValueValueDoesNotForgetAnnotations() { + void withSuppliedValueValueDoesNotForgetAnnotations() { Annotation annotation = AnnotationUtils.synthesizeAnnotation(TestAnnotation.class); Bindable bindable = Bindable.of(String.class).withAnnotations(annotation).withSuppliedValue(() -> ""); assertThat(bindable.getAnnotations()).containsExactly(annotation);