From 3bc8727848d131c98f6a79f5e689e7ad77279ca8 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Fri, 28 Feb 2025 20:50:05 +0900 Subject: [PATCH] Add Javadoc since for new methods in LoggingSystemProperties See gh-44489 Signed-off-by: Johnny Lim --- .../boot/logging/LoggingSystemProperties.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/LoggingSystemProperties.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/LoggingSystemProperties.java index 8d3417fee26..bc589a8ad3a 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/LoggingSystemProperties.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/LoggingSystemProperties.java @@ -92,6 +92,11 @@ public class LoggingSystemProperties { this.setter = (setter != null) ? setter : systemPropertySetter; } + /** + * Returns the {@link Console} to use. + * @return the {@link Console} to use + * @since 3.5.0 + */ protected Console getConsole() { return System.console(); } @@ -153,7 +158,8 @@ public class LoggingSystemProperties { /** * Returns the default console charset. - * @return returns the default console charset + * @return the default console charset + * @since 3.5.0 */ protected Charset getDefaultConsoleCharset() { Console console = getConsole(); @@ -162,7 +168,8 @@ public class LoggingSystemProperties { /** * Returns the default file charset. - * @return returns the default file charset + * @return the default file charset + * @since 3.5.0 */ protected Charset getDefaultFileCharset() { return StandardCharsets.UTF_8;