Make LambdaSafe.withFilter public

Fixes gh-46472
This commit is contained in:
Phillip Webb 2025-07-21 17:35:08 +01:00
parent 2688342787
commit 14db1ad6f3
1 changed files with 2 additions and 1 deletions

View File

@ -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<C, A> filter) {
public SELF withFilter(Filter<C, A> filter) {
Assert.notNull(filter, "Filter must not be null");
this.filter = filter;
return self();