nutch-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sna...@apache.org
Subject [nutch] branch master updated: NUTCH-2475 If and else-if branches has the same condition - remove duplicated condition to handle ftp status 451 (requested action aborted)
Date Sun, 06 Jan 2019 20:13:54 GMT
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 <snagel@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;


Mime
View raw message