diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/util/LambdaSafe.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/util/LambdaSafe.java index 3a8df0a7546..398cf17b76d 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/util/LambdaSafe.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/util/LambdaSafe.java @@ -146,8 +146,9 @@ public final class LambdaSafe { * type. * @param filter the filter to use * @return this instance + * @since 3.4.8 */ - SELF withFilter(Filter filter) { + public SELF withFilter(Filter filter) { Assert.notNull(filter, "'filter' must not be null"); this.filter = filter; return self();