aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.junit.http
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2019-10-17 10:42:28 +0900
committerDavid Pursehouse <david.pursehouse@gmail.com>2019-10-17 10:42:31 +0900
commit8e356fc45e2b169572088ebdfb931ca788a5e220 (patch)
tree23bca64c621d64a8c8b3e82935639c366dd8bcae /org.eclipse.jgit.junit.http
parent98cdca9b5a830f1c2ceca52379d662a68109d43e (diff)
downloadjgit-8e356fc45e2b169572088ebdfb931ca788a5e220.tar.gz
jgit-8e356fc45e2b169572088ebdfb931ca788a5e220.zip
AppServer: Stop using deprecated SslContextFactory constructor
Use SslContextFactory.Client instead, as suggested in the deprecation javadoc. Change-Id: I746c953d3ad549c23d0e43eb4a18fc587e924f93 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.junit.http')
-rw-r--r--org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AppServer.java2
1 files changed, 1 insertions, 1 deletions
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 14f54bef93..33cbd2b595 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=";