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