Skip to content

Commit 1cb3b1f

Browse files
committed
fix SslOptions getCiphers() and getEnabledProtocols() document
1 parent a8befe8 commit 1cb3b1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/spring-boot/src/main/java/org/springframework/boot/ssl/SslOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ default boolean isSpecified() {
5151
}
5252

5353
/**
54-
* Return the ciphers that can be used or an empty set. The cipher names in this set
54+
* Return the ciphers that can be used or {@code null}. The cipher names in this set
5555
* should be compatible with those supported by
5656
* {@link SSLEngine#getSupportedCipherSuites()}.
5757
* @return the ciphers that can be used or {@code null}
5858
*/
5959
String @Nullable [] getCiphers();
6060

6161
/**
62-
* Return the protocols that should be enabled or an empty set. The protocols names in
62+
* Return the protocols that should be enabled or {@code null}. The protocols names in
6363
* this set should be compatible with those supported by
6464
* {@link SSLEngine#getSupportedProtocols()}.
6565
* @return the protocols to enable or {@code null}

0 commit comments

Comments
 (0)