Browse Source

Polish

pull/30304/head
Stephane Nicoll 3 years ago
parent
commit
60d2d16b2b
  1. 2
      spring-beans/src/main/java/org/springframework/beans/factory/support/InstanceSupplier.java

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

@ -138,7 +138,7 @@ public interface InstanceSupplier<T> extends ThrowingSupplier<T> {
* Lambda friendly method that can be used to create a * Lambda friendly method that can be used to create a
* {@link InstanceSupplier} and add post processors in a single call. For * {@link InstanceSupplier} and add post processors in a single call. For
* example: {@code * example: {@code
* InstanceSupplier.of(registeredBean -> ...).withPostProcessor(...)}. * InstanceSupplier.of(registeredBean -> ...).andThen(...)}.
* @param <T> the type of instance supplied by this supplier * @param <T> the type of instance supplied by this supplier
* @param instanceSupplier the source instance supplier * @param instanceSupplier the source instance supplier
* @return a new {@link InstanceSupplier} * @return a new {@link InstanceSupplier}

Loading…
Cancel
Save