mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-10 03:19:01 +00:00
Polish contribution
Closes gh-14985
This commit is contained in:
+2
-7
@@ -28,7 +28,7 @@ public class Ssl {
|
||||
|
||||
private boolean enabled = true;
|
||||
|
||||
private ClientAuth clientAuth = ClientAuth.NONE;
|
||||
private ClientAuth clientAuth;
|
||||
|
||||
private String[] ciphers;
|
||||
|
||||
@@ -78,12 +78,7 @@ public class Ssl {
|
||||
}
|
||||
|
||||
public void setClientAuth(ClientAuth clientAuth) {
|
||||
if (clientAuth == null) {
|
||||
this.clientAuth = ClientAuth.NONE;
|
||||
}
|
||||
else {
|
||||
this.clientAuth = clientAuth;
|
||||
}
|
||||
this.clientAuth = clientAuth;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user