Skip to content

Commit 529b275

Browse files
author
Stephen Powis
committed
Resolve deprecated usage
1 parent ca17b58 commit 529b275

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/testserver/TestHttpServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private void configureServer() {
118118
// SSL requires a certificate so we configure a factory for ssl contents with information pointing to what
119119
// keystore the ssl connection needs to know about. Much more configuration is available the ssl context,
120120
// including things like choosing the particular certificate out of a keystore to be used.
121-
final SslContextFactory sslContextFactory = new SslContextFactory();
121+
final SslContextFactory.Server sslContextFactory = new SslContextFactory.Server();
122122

123123
// define server side key
124124
sslContextFactory.setKeyStorePath(keyStoreFile);

0 commit comments

Comments
 (0)