manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1351494 - /manifoldcf/trunk/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/WebcrawlerConnector.java
Date Mon, 18 Jun 2012 21:33:00 GMT
Author: kwright
Date: Mon Jun 18 21:32:59 2012
New Revision: 1351494

URL: http://svn.apache.org/viewvc?rev=1351494&view=rev
Log:
Get rid of duplicate activity records.  Part of CONNECTORS-482.

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=1351494&r1=1351493&r2=1351494&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
Mon Jun 18 21:32:59 2012
@@ -751,7 +751,7 @@ public class WebcrawlerConnector extends
                         {
                           contextMessage = "it had the wrong content type";
                           resultSignal = RESULT_NO_DOCUMENT;
-                          activityResultCode = "-13";//null;
+                          activityResultCode = null;
                         }
                       }
                       else
@@ -784,7 +784,7 @@ public class WebcrawlerConnector extends
                         }
                         contextMessage = "it failed to fetch (status="+Integer.toString(response)+",
message="+decodedResponse+")";
                         resultSignal = RESULT_NO_VERSION;
-                        activityResultCode = Integer.toString(response);//null;
+                        activityResultCode = null;
                       }
                     }
                     catch (ManifoldCFException e)



Mime
View raw message