From 8a510db00d400d1e863a0177fb23ece671fe05ae Mon Sep 17 00:00:00 2001 From: "Lee, Kyutae" Date: Sat, 12 Mar 2022 16:42:36 +0900 Subject: [PATCH] Polish Javadoc for Environment Closes gh-28170 --- .../java/org/springframework/core/env/Environment.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 37b52fb949..5a9c034816 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