Skip to content

Commit 8a510db

Browse files
gorisansonsbrannen
authored andcommitted
Polish Javadoc for Environment
Closes gh-28170
1 parent 9eec6d0 commit 8a510db

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-core/src/main/java/org/springframework/core/env/Environment.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
* <p><em>Properties</em> play an important role in almost all applications, and may
3535
* originate from a variety of sources: properties files, JVM system properties, system
3636
* environment variables, JNDI, servlet context parameters, ad-hoc Properties objects,
37-
* Maps, and so on. The role of the environment object with relation to properties is to
38-
* provide the user with a convenient service interface for configuring property sources
39-
* and resolving properties from them.
37+
* Maps, and so on. The role of the {@code Environment} object with relation to properties
38+
* is to provide the user with a convenient service interface for configuring property
39+
* sources and resolving properties from them.
4040
*
4141
* <p>Beans managed within an {@code ApplicationContext} may register to be {@link
4242
* org.springframework.context.EnvironmentAware EnvironmentAware} or {@code @Inject} the
@@ -50,7 +50,7 @@
5050
* as of Spring 3.1 is registered by default when using
5151
* {@code <context:property-placeholder/>}.
5252
*
53-
* <p>Configuration of the environment object must be done through the
53+
* <p>Configuration of the {@code Environment} object must be done through the
5454
* {@code ConfigurableEnvironment} interface, returned from all
5555
* {@code AbstractApplicationContext} subclass {@code getEnvironment()} methods. See
5656
* {@link ConfigurableEnvironment} Javadoc for usage examples demonstrating manipulation

0 commit comments

Comments
 (0)