diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2019-10-17 10:42:28 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2019-10-17 10:42:31 +0900 |
commit | 8e356fc45e2b169572088ebdfb931ca788a5e220 (patch) | |
tree | 23bca64c621d64a8c8b3e82935639c366dd8bcae /org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit | |
parent | 98cdca9b5a830f1c2ceca52379d662a68109d43e (diff) | |
download | jgit-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/src/org/eclipse/jgit/junit')
-rw-r--r-- | org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AppServer.java | 2 |
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="; |