Skip to content

Commit 33000b6

Browse files
committed
Polish contribution
Closes gh-14985
1 parent 108f284 commit 33000b6

File tree

1 file changed

+2
-7
lines changed
  • spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/server

1 file changed

+2
-7
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/server/Ssl.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class Ssl {
2828

2929
private boolean enabled = true;
3030

31-
private ClientAuth clientAuth = ClientAuth.NONE;
31+
private ClientAuth clientAuth;
3232

3333
private String[] ciphers;
3434

@@ -78,12 +78,7 @@ public ClientAuth getClientAuth() {
7878
}
7979

8080
public void setClientAuth(ClientAuth clientAuth) {
81-
if (clientAuth == null) {
82-
this.clientAuth = ClientAuth.NONE;
83-
}
84-
else {
85-
this.clientAuth = clientAuth;
86-
}
81+
this.clientAuth = clientAuth;
8782
}
8883

8984
/**

0 commit comments

Comments
 (0)