This is an automated email from the ASF dual-hosted git repository.

snagel pushed a commit to branch 2.x
in repository https://gitbox.apache.org/repos/asf/nutch.git


The following commit(s) were added to refs/heads/2.x by this push:
     new e56f82d  NUTCH-2475 If and else-if branches has the same condition - 
remove duplicated condition to handle ftp status 451   (requested action 
aborted)
e56f82d is described below

commit e56f82d9178ecb1de1147c73d9c0c9a55ed63ec3
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 8b272ec..26f6c98 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
@@ -482,7 +482,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;

Reply via email to