diff --git a/gerrit-patch-commonsnet/src/main/java/org/apache/commons/net/smtp/AuthSMTPClient.java b/gerrit-patch-commonsnet/src/main/java/org/apache/commons/net/smtp/AuthSMTPClient.java index 94e738d558..5fd582b5e4 100644 --- a/gerrit-patch-commonsnet/src/main/java/org/apache/commons/net/smtp/AuthSMTPClient.java +++ b/gerrit-patch-commonsnet/src/main/java/org/apache/commons/net/smtp/AuthSMTPClient.java @@ -84,11 +84,6 @@ public class AuthSMTPClient extends SMTPClient { return (SSLSocketFactory) BlindSSLSocketFactory.getDefault(); } - @Override - public String[] getReplyStrings() { - return _replyLines.toArray(new String[_replyLines.size()]); - } - @Override public boolean login() throws IOException { final String name = getLocalAddress().getHostName(); diff --git a/lib/commons/BUCK b/lib/commons/BUCK index cc503a39f8..f9bf064cec 100644 --- a/lib/commons/BUCK +++ b/lib/commons/BUCK @@ -48,8 +48,8 @@ maven_jar( maven_jar( name = 'net', - id = 'commons-net:commons-net:2.2', - sha1 = '07993c12f63c78378f8c90de4bc2ee62daa7ca3a', + id = 'commons-net:commons-net:3.5', + sha1 = '342fc284019f590e1308056990fdb24a08f06318', license = 'Apache2.0', exclude = ['META-INF/LICENSE.txt', 'META-INF/NOTICE.txt'], )