findbugs fix: equals() used to compare array and nonarray

This commit is contained in:
dev
2015-04-04 13:37:18 +00:00
parent 0c90162e20
commit 45bc533e38

View File

@ -266,7 +266,7 @@ public class I2PSSLSocketFactory {
for (int i = 0; i < p.length; i++) {
// if we left SSLv3 in there, we don't support TLS,
// so we should't remove the SSL ciphers
if (p.equals("SSLv3"))
if (p[i].equals("SSLv3"))
return;
}
socket.setEnabledProtocols(p);