This is an automated email from the ASF dual-hosted git repository. snagel pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nutch.git
The following commit(s) were added to refs/heads/master by this push: new d0a4abf NUTCH-2475 If and else-if branches has the same condition - remove duplicated condition to handle ftp status 451 (requested action aborted) d0a4abf is described below commit d0a4abfd7cd294d7ffb14b6947c243e46c65f265 Author: Sebastian Nagel <sna...@apache.org> AuthorDate: Sun Jan 6 21:05:27 2019 +0100 NUTCH-2475 If and else-if branches has the same condition - remove duplicated condition to handle ftp status 451 (requested action aborted) --- .../protocol-ftp/src/java/org/apache/nutch/protocol/ftp/Client.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugin/protocol-ftp/src/java/org/apache/nutch/protocol/ftp/Client.java b/src/plugin/protocol-ftp/src/java/org/apache/nutch/protocol/ftp/Client.java index f0dc7b8..71059f2 100644 --- a/src/plugin/protocol-ftp/src/java/org/apache/nutch/protocol/ftp/Client.java +++ b/src/plugin/protocol-ftp/src/java/org/apache/nutch/protocol/ftp/Client.java @@ -489,7 +489,6 @@ public class Client extends FTP { // ProFTPD [ftp.kernel.org] // there is second reply witing? no! // getReply(); - } else if (reply == 451) { // FTPReply.ACTION_ABORTED } else { // what other kind of ftp server out there? return false;