From e1fb4a1966a340893d6958789520a18638d95cf4 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Tue, 7 Jan 2020 18:47:54 +0100 Subject: [PATCH] Polishing --- .../annotation/AnnotationBeanNameGenerator.java | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/spring-context/src/main/java/org/springframework/context/annotation/AnnotationBeanNameGenerator.java b/spring-context/src/main/java/org/springframework/context/annotation/AnnotationBeanNameGenerator.java index 29ad5fce07..58b7a36314 100644 --- a/spring-context/src/main/java/org/springframework/context/annotation/AnnotationBeanNameGenerator.java +++ b/spring-context/src/main/java/org/springframework/context/annotation/AnnotationBeanNameGenerator.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2019 the original author or authors. + * Copyright 2002-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,15 +32,12 @@ import org.springframework.util.ClassUtils; import org.springframework.util.StringUtils; /** - * {@link org.springframework.beans.factory.support.BeanNameGenerator} - * implementation for bean classes annotated with the - * {@link org.springframework.stereotype.Component @Component} annotation - * or with another annotation that is itself annotated with - * {@link org.springframework.stereotype.Component @Component} as a + * {@link BeanNameGenerator} implementation for bean classes annotated with the + * {@link org.springframework.stereotype.Component @Component} annotation or + * with another annotation that is itself annotated with {@code @Component} as a * meta-annotation. For example, Spring's stereotype annotations (such as * {@link org.springframework.stereotype.Repository @Repository}) are - * themselves annotated with - * {@link org.springframework.stereotype.Component @Component}. + * themselves annotated with {@code @Component}. * *

Also supports Java EE 6's {@link javax.annotation.ManagedBean} and * JSR-330's {@link javax.inject.Named} annotations, if available. Note that