From 1a14f39f83602b224572dee3b3ceb773f88bfff7 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Thu, 20 Oct 2022 17:04:29 -0700 Subject: [PATCH] Polish --- .../springframework/boot/configurationsample/DefaultValue.java | 2 +- .../boot/context/properties/bind/DefaultValue.java | 2 +- .../org/springframework/boot/context/properties/bind/Name.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationsample/DefaultValue.java b/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationsample/DefaultValue.java index 359f8d4c07..29fd203e60 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationsample/DefaultValue.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationsample/DefaultValue.java @@ -28,7 +28,7 @@ import java.lang.annotation.Target; * * @author Stephane Nicoll */ -@Target({ ElementType.PARAMETER }) +@Target(ElementType.PARAMETER) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface DefaultValue { diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/DefaultValue.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/DefaultValue.java index 257b37514c..d9c1044014 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/DefaultValue.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/DefaultValue.java @@ -40,7 +40,7 @@ import java.lang.annotation.Target; * @since 2.2.0 */ @Retention(RetentionPolicy.RUNTIME) -@Target({ ElementType.PARAMETER }) +@Target(ElementType.PARAMETER) @Documented public @interface DefaultValue { diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/Name.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/Name.java index 0ae0c236ab..28a3e2da73 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/Name.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/Name.java @@ -31,7 +31,7 @@ import java.lang.annotation.Target; * @since 2.4.0 */ @Retention(RetentionPolicy.RUNTIME) -@Target({ ElementType.PARAMETER }) +@Target(ElementType.PARAMETER) @Documented public @interface Name {