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:
Scott Mitchell 2015-09-24 17:37:33 -07:00
parent 6c6c369c68
commit c47106587a

View File

@ -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);
}
/**