|
1 | 1 | /*
|
2 |
| - * Copyright 2002-2022 the original author or authors. |
| 2 | + * Copyright 2002-2024 the original author or authors. |
3 | 3 | *
|
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | 5 | * you may not use this file except in compliance with the License.
|
@@ -87,20 +87,20 @@ default Constructor<?>[] determineCandidateConstructors(Class<?> beanClass, Stri
|
87 | 87 | * typically for the purpose of resolving a circular reference.
|
88 | 88 | * <p>This callback gives post-processors a chance to expose a wrapper
|
89 | 89 | * early - that is, before the target bean instance is fully initialized.
|
90 |
| - * The exposed object should be equivalent to the what |
| 90 | + * The exposed object should be equivalent to what |
91 | 91 | * {@link #postProcessBeforeInitialization} / {@link #postProcessAfterInitialization}
|
92 | 92 | * would expose otherwise. Note that the object returned by this method will
|
93 |
| - * be used as bean reference unless the post-processor returns a different |
94 |
| - * wrapper from said post-process callbacks. In other words: Those post-process |
| 93 | + * be used as the bean reference unless the post-processor returns a different |
| 94 | + * wrapper from said post-process callbacks. In other words, those post-process |
95 | 95 | * callbacks may either eventually expose the same reference or alternatively
|
96 | 96 | * return the raw bean instance from those subsequent callbacks (if the wrapper
|
97 | 97 | * for the affected bean has been built for a call to this method already,
|
98 |
| - * it will be exposes as final bean reference by default). |
| 98 | + * it will be exposed as the final bean reference by default). |
99 | 99 | * <p>The default implementation returns the given {@code bean} as-is.
|
100 | 100 | * @param bean the raw bean instance
|
101 | 101 | * @param beanName the name of the bean
|
102 |
| - * @return the object to expose as bean reference |
103 |
| - * (typically with the passed-in bean instance as default) |
| 102 | + * @return the object to expose as the bean reference |
| 103 | + * (typically the passed-in bean instance as default) |
104 | 104 | * @throws org.springframework.beans.BeansException in case of errors
|
105 | 105 | */
|
106 | 106 | default Object getEarlyBeanReference(Object bean, String beanName) throws BeansException {
|
|
0 commit comments