Browse Source

Not necessary apparently.

Douglas William Thrift 13 years ago
parent
commit
9b050705fe
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/net/douglasthrift/bigscreenbot/BigScreenBot.java

+ 1 - 2
src/net/douglasthrift/bigscreenbot/BigScreenBot.java

@@ -40,7 +40,6 @@ import java.util.Set;
 
 import java.util.regex.Pattern;
 
-import javax.net.ssl.KeyManager;
 import javax.net.ssl.SSLSocketFactory;
 
 import com.google.polo.ssl.DummySSLSocketFactory;
@@ -148,7 +147,7 @@ public class BigScreenBot extends Bot
             else
                 try
                 {
-                    setSocketFactory(DummySSLSocketFactory.fromKeyManagers(new KeyManager[] {}));
+                    setSocketFactory(DummySSLSocketFactory.fromKeyManagers(null));
                 }
                 catch (GeneralSecurityException exception)
                 {