Unused paramters introduced by https://github.com/netty/netty/pull/4257
Motivation: PR https://github.com/netty/netty/pull/4257 introduced paramters and didn't use them. Modifications: - Use the new paramters Result: No warnings and correct behavior
This commit is contained in:
parent
83c2d7c43b
commit
127886f469
@ -84,7 +84,7 @@ public final class SelfSignedCertificate {
|
||||
* @param notAfter Certificate is not valid after this time
|
||||
*/
|
||||
public SelfSignedCertificate(Date notBefore, Date notAfter) throws CertificateException {
|
||||
this("example.com");
|
||||
this("example.com", notBefore, notAfter);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user