diff --git a/spring-core/src/main/java/org/springframework/core/env/Environment.java b/spring-core/src/main/java/org/springframework/core/env/Environment.java index 37b52fb9498..5a9c0348162 100644 --- a/spring-core/src/main/java/org/springframework/core/env/Environment.java +++ b/spring-core/src/main/java/org/springframework/core/env/Environment.java @@ -34,9 +34,9 @@ package org.springframework.core.env; *
Properties play an important role in almost all applications, and may * originate from a variety of sources: properties files, JVM system properties, system * environment variables, JNDI, servlet context parameters, ad-hoc Properties objects, - * Maps, and so on. The role of the environment object with relation to properties is to - * provide the user with a convenient service interface for configuring property sources - * and resolving properties from them. + * Maps, and so on. The role of the {@code Environment} object with relation to properties + * is to provide the user with a convenient service interface for configuring property + * sources and resolving properties from them. * *
Beans managed within an {@code ApplicationContext} may register to be {@link
* org.springframework.context.EnvironmentAware EnvironmentAware} or {@code @Inject} the
@@ -50,7 +50,7 @@ package org.springframework.core.env;
* as of Spring 3.1 is registered by default when using
* {@code
Configuration of the environment object must be done through the + *
Configuration of the {@code Environment} object must be done through the * {@code ConfigurableEnvironment} interface, returned from all * {@code AbstractApplicationContext} subclass {@code getEnvironment()} methods. See * {@link ConfigurableEnvironment} Javadoc for usage examples demonstrating manipulation