From 0abfad870c7f13a9f5487064462c2c48334416c8 Mon Sep 17 00:00:00 2001 From: Sam Brannen <104798+sbrannen@users.noreply.github.com> Date: Wed, 7 May 2025 16:13:00 +0200 Subject: [PATCH] Polish class-level Javadoc for SpringProperties --- .../springframework/core/SpringProperties.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/spring-core/src/main/java/org/springframework/core/SpringProperties.java b/spring-core/src/main/java/org/springframework/core/SpringProperties.java index 865b532a174..209956fe72b 100644 --- a/spring-core/src/main/java/org/springframework/core/SpringProperties.java +++ b/spring-core/src/main/java/org/springframework/core/SpringProperties.java @@ -26,15 +26,16 @@ import org.springframework.lang.Nullable; /** * Static holder for local Spring properties, i.e. defined at the Spring library level. * - *

Reads a {@code spring.properties} file from the root of the Spring library classpath, - * and also allows for programmatically setting properties through {@link #setProperty}. - * When checking a property, local entries are being checked first, then falling back - * to JVM-level system properties through a {@link System#getProperty} check. + *

Reads a {@code spring.properties} file from the root of the classpath and + * also allows for programmatically setting properties via {@link #setProperty}. + * When retrieving properties, local entries are checked first, with JVM-level + * system properties checked next as a fallback via {@link System#getProperty}. * *

This is an alternative way to set Spring-related system properties such as - * "spring.getenv.ignore" and "spring.beaninfo.ignore", in particular for scenarios - * where JVM system properties are locked on the target platform (for example, WebSphere). - * See {@link #setFlag} for a convenient way to locally set such flags to "true". + * {@code spring.getenv.ignore} and {@code spring.beaninfo.ignore}, in particular + * for scenarios where JVM system properties are locked on the target platform + * (for example, WebSphere). See {@link #setFlag} for a convenient way to locally + * set such flags to {@code "true"}. * * @author Juergen Hoeller * @since 3.2.7