From 1884d18183429cb0510bc23a3695533f4fa2e37a Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Fri, 19 Sep 2014 00:11:44 +0200 Subject: [PATCH] Polishing --- .../core/env/SystemEnvironmentPropertySource.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-core/src/main/java/org/springframework/core/env/SystemEnvironmentPropertySource.java b/spring-core/src/main/java/org/springframework/core/env/SystemEnvironmentPropertySource.java index cb4367ebd96..a9a02fd6065 100644 --- a/spring-core/src/main/java/org/springframework/core/env/SystemEnvironmentPropertySource.java +++ b/spring-core/src/main/java/org/springframework/core/env/SystemEnvironmentPropertySource.java @@ -41,11 +41,11 @@ import org.springframework.util.ObjectUtils; * {@code true} if any of the above properties are present, otherwise {@code false}. * *

This feature is particularly useful when specifying active or default profiles as - * environment variables. The following is not allowable under Bash + * environment variables. The following is not allowable under Bash: * *

spring.profiles.active=p1 java -classpath ... MyApp
* - * However, the following syntax is permitted and is also more conventional. + * However, the following syntax is permitted and is also more conventional: * *
SPRING_PROFILES_ACTIVE=p1 java -classpath ... MyApp
* @@ -73,7 +73,7 @@ public class SystemEnvironmentPropertySource extends MapPropertySource { /** - * Return {@link true} if a property with the given name or any underscore/uppercase variant + * Return {@code true} if a property with the given name or any underscore/uppercase variant * thereof exists in this property source. */ @Override