Polishing

This commit is contained in:
Juergen Hoeller
2017-09-10 21:56:31 +02:00
parent 30d67f7c42
commit 4371350b5d
4 changed files with 6 additions and 17 deletions

View File

@@ -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.
* <b>Use distinct Java method names pointing to the same {@link @Bean#name bean name}
* <b>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</b>;
* see {@code ProfileDatabaseConfig} in {@link Configuration @Configuration}'s javadoc.
*