From 8e356fc45e2b169572088ebdfb931ca788a5e220 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Thu, 17 Oct 2019 10:42:28 +0900 Subject: [PATCH] AppServer: Stop using deprecated SslContextFactory constructor Use SslContextFactory.Client instead, as suggested in the deprecation javadoc. Change-Id: I746c953d3ad549c23d0e43eb4a18fc587e924f93 Signed-off-by: David Pursehouse --- .../src/org/eclipse/jgit/junit/http/AppServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AppServer.java b/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AppServer.java index 14f54bef9..33cbd2b59 100644 --- a/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AppServer.java +++ b/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AppServer.java @@ -205,7 +205,7 @@ public class AppServer { } private SslContextFactory createTestSslContextFactory(String hostName) { - SslContextFactory factory = new SslContextFactory(true); + SslContextFactory.Client factory = new SslContextFactory.Client(true); String dName = "CN=,OU=,O=,ST=,L=,C=";