manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1844120 - /manifoldcf/trunk/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/WebcrawlerConnector.java
Date Wed, 17 Oct 2018 14:46:58 GMT
Author: kwright
Date: Wed Oct 17 14:46:58 2018
New Revision: 1844120

URL: http://svn.apache.org/viewvc?rev=1844120&view=rev
Log:
OSQ-1547: Add reporting for wrong mime type

Modified:
    manifoldcf/trunk/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/WebcrawlerConnector.java

Modified: manifoldcf/trunk/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/WebcrawlerConnector.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/WebcrawlerConnector.java?rev=1844120&r1=1844119&r2=1844120&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/WebcrawlerConnector.java
(original)
+++ manifoldcf/trunk/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/WebcrawlerConnector.java
Wed Oct 17 14:46:58 2018
@@ -901,7 +901,7 @@ public class WebcrawlerConnector extends
                 {
                   fetchStatus.contextMessage = "it had the wrong content type ('"+contentType+"')";
                   fetchStatus.resultSignal = RESULT_NO_DOCUMENT;
-                  activityResultCode = null;
+                  activityResultCode = activities.EXCLUDED_MIMETYPE;
                 }
               }
               else



Mime
View raw message