incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1181652 - /incubator/lcf/branches/CONNECTORS-256/connectors/wiki/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/wiki/WikiConnector.java
Date Tue, 11 Oct 2011 08:11:24 GMT
Author: kwright
Date: Tue Oct 11 08:11:23 2011
New Revision: 1181652

URL: http://svn.apache.org/viewvc?rev=1181652&view=rev
Log:
Hook up ability to abort during seeding.

Modified:
    incubator/lcf/branches/CONNECTORS-256/connectors/wiki/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/wiki/WikiConnector.java

Modified: incubator/lcf/branches/CONNECTORS-256/connectors/wiki/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/wiki/WikiConnector.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-256/connectors/wiki/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/wiki/WikiConnector.java?rev=1181652&r1=1181651&r2=1181652&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-256/connectors/wiki/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/wiki/WikiConnector.java
(original)
+++ incubator/lcf/branches/CONNECTORS-256/connectors/wiki/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/wiki/WikiConnector.java
Tue Oct 11 08:11:23 2011
@@ -901,8 +901,9 @@ public class WikiConnector extends org.a
     String lastTitle = null;
     while (true)
     {
-      // Start with the last title seen in the previous round.  This will cause a duplicate
to be queued, but that's not
-      // a problem.
+      activities.checkJobStillActive();
+      
+      // Start with the last title seen in the previous round. 
       String newLastTitle = executeListPagesViaThread(lastTitle,activities);
       if (newLastTitle == null)
         break;



Mime
View raw message