Update to Apache Commons Net 3.5
The getReplyStrings() strings is now provided by the base class, so we do not need to implement it ourselves. Change-Id: I6a90c3dd11cbc5c7532c2c80f2c81046443b3030
This commit is contained in:
parent
d06786334e
commit
48d8a04cea
@ -84,11 +84,6 @@ public class AuthSMTPClient extends SMTPClient {
|
|||||||
return (SSLSocketFactory) BlindSSLSocketFactory.getDefault();
|
return (SSLSocketFactory) BlindSSLSocketFactory.getDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String[] getReplyStrings() {
|
|
||||||
return _replyLines.toArray(new String[_replyLines.size()]);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean login() throws IOException {
|
public boolean login() throws IOException {
|
||||||
final String name = getLocalAddress().getHostName();
|
final String name = getLocalAddress().getHostName();
|
||||||
|
@ -48,8 +48,8 @@ maven_jar(
|
|||||||
|
|
||||||
maven_jar(
|
maven_jar(
|
||||||
name = 'net',
|
name = 'net',
|
||||||
id = 'commons-net:commons-net:2.2',
|
id = 'commons-net:commons-net:3.5',
|
||||||
sha1 = '07993c12f63c78378f8c90de4bc2ee62daa7ca3a',
|
sha1 = '342fc284019f590e1308056990fdb24a08f06318',
|
||||||
license = 'Apache2.0',
|
license = 'Apache2.0',
|
||||||
exclude = ['META-INF/LICENSE.txt', 'META-INF/NOTICE.txt'],
|
exclude = ['META-INF/LICENSE.txt', 'META-INF/NOTICE.txt'],
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user