Apache Nutch is an extensible and scalable web crawler
NUTCH-2475 If and else-if branches has the same condition - remove duplicated condition to handle ftp status 451 (requested action aborted)
Sebastian Nageld0a4abfd7cd2
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.javaindex f0dc7b84b..71059f22c 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;