Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d0b162a

Browse files
committedNov 8, 2022
Polishing
1 parent 95f3337 commit d0b162a

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed
 

‎spring-beans/src/main/java/org/springframework/beans/factory/ListableBeanFactory.java

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,8 @@ <T> Map<String, T> getBeansOfType(@Nullable Class<T> type, boolean includeNonSin
323323
* (at class, interface or factory method level of the specified bean)
324324
* @return the names of all matching beans
325325
* @since 4.0
326-
* @see #findAnnotationOnBean
326+
* @see #getBeansWithAnnotation(Class)
327+
* @see #findAnnotationOnBean(String, Class)
327328
*/
328329
String[] getBeanNamesForAnnotation(Class<? extends Annotation> annotationType);
329330

@@ -338,8 +339,8 @@ <T> Map<String, T> getBeansOfType(@Nullable Class<T> type, boolean includeNonSin
338339
* keys and the corresponding bean instances as values
339340
* @throws BeansException if a bean could not be created
340341
* @since 3.0
341-
* @see #findAnnotationOnBean
342-
* @see #findAllAnnotationsOnBean(String, Class, boolean)
342+
* @see #findAnnotationOnBean(String, Class)
343+
* @see #findAnnotationOnBean(String, Class, boolean)
343344
* @see #findAllAnnotationsOnBean(String, Class, boolean)
344345
*/
345346
Map<String, Object> getBeansWithAnnotation(Class<? extends Annotation> annotationType) throws BeansException;
@@ -354,8 +355,10 @@ <T> Map<String, T> getBeansOfType(@Nullable Class<T> type, boolean includeNonSin
354355
* @return the annotation of the given type if found, or {@code null} otherwise
355356
* @throws NoSuchBeanDefinitionException if there is no bean with the given name
356357
* @since 3.0
357-
* @see #getBeanNamesForAnnotation
358-
* @see #getBeansWithAnnotation
358+
* @see #findAnnotationOnBean(String, Class, boolean)
359+
* @see #findAllAnnotationsOnBean(String, Class, boolean)
360+
* @see #getBeanNamesForAnnotation(Class)
361+
* @see #getBeansWithAnnotation(Class)
359362
* @see #getType(String)
360363
*/
361364
@Nullable
@@ -374,8 +377,10 @@ <A extends Annotation> A findAnnotationOnBean(String beanName, Class<A> annotati
374377
* @return the annotation of the given type if found, or {@code null} otherwise
375378
* @throws NoSuchBeanDefinitionException if there is no bean with the given name
376379
* @since 5.3.14
377-
* @see #getBeanNamesForAnnotation
378-
* @see #getBeansWithAnnotation
380+
* @see #findAnnotationOnBean(String, Class)
381+
* @see #findAllAnnotationsOnBean(String, Class, boolean)
382+
* @see #getBeanNamesForAnnotation(Class)
383+
* @see #getBeansWithAnnotation(Class)
379384
* @see #getType(String, boolean)
380385
*/
381386
@Nullable
@@ -395,7 +400,7 @@ <A extends Annotation> A findAnnotationOnBean(
395400
* @return the set of annotations of the given type found (potentially empty)
396401
* @throws NoSuchBeanDefinitionException if there is no bean with the given name
397402
* @since 6.0
398-
* @see #getBeanNamesForAnnotation
403+
* @see #getBeanNamesForAnnotation(Class)
399404
* @see #findAnnotationOnBean(String, Class, boolean)
400405
* @see #getType(String, boolean)
401406
*/

‎spring-webflux/src/main/java/org/springframework/web/reactive/function/BodyExtractor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public interface BodyExtractor<T, M extends ReactiveHttpInputMessage> {
3838

3939
/**
4040
* Extract from the given input message.
41-
* @param inputMessage the request to extract from
41+
* @param inputMessage the message to extract from
4242
* @param context the configuration to use
4343
* @return the extracted data
4444
*/
@@ -52,7 +52,7 @@ interface Context {
5252

5353
/**
5454
* Return the {@link HttpMessageReader HttpMessageReaders} to be used for body extraction.
55-
* @return the stream of message readers
55+
* @return the list of message readers
5656
*/
5757
List<HttpMessageReader<?>> messageReaders();
5858

0 commit comments

Comments
 (0)
Please sign in to comment.