From 60d2d16b2b67caa3f7fb95be4a4e955e149b51df Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 26 Jul 2022 15:18:35 +0200 Subject: [PATCH] Polish --- .../springframework/beans/factory/support/InstanceSupplier.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/support/InstanceSupplier.java b/spring-beans/src/main/java/org/springframework/beans/factory/support/InstanceSupplier.java index 6d12abc287..cd41026d6c 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/support/InstanceSupplier.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/support/InstanceSupplier.java @@ -138,7 +138,7 @@ public interface InstanceSupplier extends ThrowingSupplier { * Lambda friendly method that can be used to create a * {@link InstanceSupplier} and add post processors in a single call. For * example: {@code - * InstanceSupplier.of(registeredBean -> ...).withPostProcessor(...)}. + * InstanceSupplier.of(registeredBean -> ...).andThen(...)}. * @param the type of instance supplied by this supplier * @param instanceSupplier the source instance supplier * @return a new {@link InstanceSupplier}