From ac8a31ddaaed37445de1f0b6ad497a5caa3dda57 Mon Sep 17 00:00:00 2001 From: dev-chpark Date: Wed, 29 May 2024 10:02:38 +0900 Subject: [PATCH] fix: Standardize @Retention usage in annotations - Changed @Retention(SOURCE) to @Retention(RetentionPolicy.SOURCE) in @Builder to ensure consistency across all annotations. --- src/core/lombok/Builder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/lombok/Builder.java b/src/core/lombok/Builder.java index 06ca3853ba..9766c04270 100644 --- a/src/core/lombok/Builder.java +++ b/src/core/lombok/Builder.java @@ -111,7 +111,7 @@ * @see Singular */ @Target({TYPE, METHOD, CONSTRUCTOR}) -@Retention(SOURCE) +@Retention(RetentionPolicy.SOURCE) public @interface Builder { /** * The field annotated with {@code @Default} must have an initializing expression; that expression is taken as the default to be used if not explicitly set during building.