diff --git a/spring-context/src/main/java/org/springframework/context/annotation/Profile.java b/spring-context/src/main/java/org/springframework/context/annotation/Profile.java index 0838238d4a..35ab5d7581 100644 --- a/spring-context/src/main/java/org/springframework/context/annotation/Profile.java +++ b/spring-context/src/main/java/org/springframework/context/annotation/Profile.java @@ -71,7 +71,7 @@ import org.springframework.core.env.ConfigurableEnvironment; * {@code @Profile} can therefore not be used to select an overloaded method with a * particular argument signature over another; resolution between all factory methods * for the same bean follows Spring's constructor resolution algorithm at creation time. - * Use distinct Java method names pointing to the same {@link @Bean#name bean name} + * Use distinct Java method names pointing to the same {@link Bean#name bean name} * if you'd like to define alternative beans with different profile conditions; * see {@code ProfileDatabaseConfig} in {@link Configuration @Configuration}'s javadoc. * diff --git a/spring-context/src/main/java/org/springframework/validation/beanvalidation/LocalValidatorFactoryBean.java b/spring-context/src/main/java/org/springframework/validation/beanvalidation/LocalValidatorFactoryBean.java index 01c6114869..987578eecd 100644 --- a/spring-context/src/main/java/org/springframework/validation/beanvalidation/LocalValidatorFactoryBean.java +++ b/spring-context/src/main/java/org/springframework/validation/beanvalidation/LocalValidatorFactoryBean.java @@ -75,7 +75,7 @@ import org.springframework.util.ReflectionUtils; * instead. If you really need programmatic {@code #forExecutables} access, inject this class as * a {@link ValidatorFactory} and call {@link #getValidator()} on it, then {@code #forExecutables} * on the returned native {@link Validator} reference instead of directly on this class. - * Alternatively, call {@code #unwrap(Validator.class) which will also provide the native object. + * Alternatively, call {@code #unwrap(Validator.class)} which will also provide the native object. * *

This class is also being used by Spring's MVC configuration namespace, in case of the * {@code javax.validation} API being present but no explicit Validator having been configured. diff --git a/spring-context/src/main/java/org/springframework/validation/beanvalidation/SpringValidatorAdapter.java b/spring-context/src/main/java/org/springframework/validation/beanvalidation/SpringValidatorAdapter.java index a86b15cc34..90ab483951 100644 --- a/spring-context/src/main/java/org/springframework/validation/beanvalidation/SpringValidatorAdapter.java +++ b/spring-context/src/main/java/org/springframework/validation/beanvalidation/SpringValidatorAdapter.java @@ -51,7 +51,7 @@ import org.springframework.validation.SmartValidator; *

Note that Bean Validation 1.1's {@code #forExecutables} method isn't supported * on this adapter: We do not expect that method to be called by application code; * consider {@link MethodValidationInterceptor} instead. If you really need programmatic - * {@code #forExecutables} access, call {@code #unwrap(Validator.class) which will + * {@code #forExecutables} access, call {@code #unwrap(Validator.class)} which will * provide the native {@link Validator} object with {@code #forExecutables} support. * * @author Juergen Hoeller