Skip to content

Commit 8957caf

Browse files
committed
Merge pull request #44489 from izeye
* pr/44489: Add Javadoc since for new methods in LoggingSystemProperties Closes gh-44489
2 parents 8144155 + 3bc8727 commit 8957caf

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/LoggingSystemProperties.java

+9-2
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@ public LoggingSystemProperties(Environment environment, Function<String, String>
9292
this.setter = (setter != null) ? setter : systemPropertySetter;
9393
}
9494

95+
/**
96+
* Returns the {@link Console} to use.
97+
* @return the {@link Console} to use
98+
* @since 3.5.0
99+
*/
95100
protected Console getConsole() {
96101
return System.console();
97102
}
@@ -153,7 +158,8 @@ protected Charset getDefaultCharset() {
153158

154159
/**
155160
* Returns the default console charset.
156-
* @return returns the default console charset
161+
* @return the default console charset
162+
* @since 3.5.0
157163
*/
158164
protected Charset getDefaultConsoleCharset() {
159165
Console console = getConsole();
@@ -162,7 +168,8 @@ protected Charset getDefaultConsoleCharset() {
162168

163169
/**
164170
* Returns the default file charset.
165-
* @return returns the default file charset
171+
* @return the default file charset
172+
* @since 3.5.0
166173
*/
167174
protected Charset getDefaultFileCharset() {
168175
return StandardCharsets.UTF_8;

0 commit comments

Comments
 (0)