Skip to content

Commit

Permalink
Add Javadoc since for new methods in LoggingSystemProperties
Browse files Browse the repository at this point in the history
See spring-projectsgh-44353

Signed-off-by: Johnny Lim <[email protected]>
  • Loading branch information
izeye committed Feb 28, 2025
1 parent 9fd52a1 commit d012c5f
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ public LoggingSystemProperties(Environment environment, Function<String, String>
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();
}
Expand Down Expand Up @@ -153,7 +158,8 @@ protected Charset getDefaultCharset() {

/**
* 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();
Expand All @@ -162,7 +168,8 @@ protected Charset getDefaultConsoleCharset() {

/**
* 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;
Expand Down

0 comments on commit d012c5f

Please sign in to comment.