From 127886f469304f37ce39e5fff2412db54f8890e2 Mon Sep 17 00:00:00 2001 From: Scott Mitchell Date: Thu, 24 Sep 2015 17:37:33 -0700 Subject: [PATCH] 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 --- .../java/io/netty/handler/ssl/util/SelfSignedCertificate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/src/main/java/io/netty/handler/ssl/util/SelfSignedCertificate.java b/handler/src/main/java/io/netty/handler/ssl/util/SelfSignedCertificate.java index 1730324c12..770d22f161 100644 --- a/handler/src/main/java/io/netty/handler/ssl/util/SelfSignedCertificate.java +++ b/handler/src/main/java/io/netty/handler/ssl/util/SelfSignedCertificate.java @@ -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); } /**