Skip to content

Commit 60d2d16

Browse files
committed
Polish
1 parent ebe3b37 commit 60d2d16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-beans/src/main/java/org/springframework/beans/factory/support/InstanceSupplier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public Method getFactoryMethod() {
138138
* Lambda friendly method that can be used to create a
139139
* {@link InstanceSupplier} and add post processors in a single call. For
140140
* example: {@code
141-
* InstanceSupplier.of(registeredBean -> ...).withPostProcessor(...)}.
141+
* InstanceSupplier.of(registeredBean -> ...).andThen(...)}.
142142
* @param <T> the type of instance supplied by this supplier
143143
* @param instanceSupplier the source instance supplier
144144
* @return a new {@link InstanceSupplier}

0 commit comments

Comments
 (0)