manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1205474 - in /incubator/lcf/branches/CONNECTORS-290/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs: JobManager.java Jobs.java
Date Wed, 23 Nov 2011 16:15:57 GMT
Author: kwright
Date: Wed Nov 23 16:15:56 2011
New Revision: 1205474

URL: http://svn.apache.org/viewvc?rev=1205474&view=rev
Log:
Missed a comment that should have been removed

Modified:
    incubator/lcf/branches/CONNECTORS-290/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobManager.java
    incubator/lcf/branches/CONNECTORS-290/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/Jobs.java

Modified: incubator/lcf/branches/CONNECTORS-290/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobManager.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-290/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobManager.java?rev=1205474&r1=1205473&r2=1205474&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-290/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobManager.java
(original)
+++ incubator/lcf/branches/CONNECTORS-290/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/JobManager.java
Wed Nov 23 16:15:56 2011
@@ -4636,40 +4636,6 @@ public class JobManager implements IJobM
     }
   }
   
-  /*
-            if (connectionMgr.checkConnectorExists(connectionName))
-          {
-            if (outputMgr.checkConnectorExists(outputName))
-              newJobState = jobs.STATUS_ACTIVE;
-            else
-              newJobState = jobs.STATUS_ACTIVE_NOOUTPUT;
-          }
-          else
-          {
-            if (outputMgr.checkConnectorExists(outputName))
-              newJobState = jobs.STATUS_ACTIVE_UNINSTALLED;
-            else
-              newJobState = jobs.STATUS_ACTIVE_NEITHER;
-          }
-  
-  
-            if (connectionMgr.checkConnectorExists(connectionName))
-          {
-            if (outputMgr.checkConnectorExists(outputName))
-              newJobState = jobs.STATUS_ACTIVESEEDING;
-            else
-              newJobState = jobs.STATUS_ACTIVESEEDING_NOOUTPUT;
-          }
-          else
-          {
-            if (outputMgr.checkConnectorExists(outputName))
-              newJobState = jobs.STATUS_ACTIVESEEDING_UNINSTALLED;
-            else
-              newJobState = jobs.STATUS_ACTIVESEEDING_NEITHER;
-          }
-
-*/
-
   /** Put active or paused jobs in wait state, if they've exceeded their window.
   *@param currentTime is the current time in milliseconds since epoch.
   *@param waitList is filled in with the set of job ID's that were put into a wait state.

Modified: incubator/lcf/branches/CONNECTORS-290/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/Jobs.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-290/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/Jobs.java?rev=1205474&r1=1205473&r2=1205474&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-290/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/Jobs.java
(original)
+++ incubator/lcf/branches/CONNECTORS-290/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/Jobs.java
Wed Nov 23 16:15:56 2011
@@ -683,7 +683,6 @@ public class Jobs extends org.apache.man
         ArrayList params = new ArrayList();
         String query = buildConjunctionClause(params,new ClauseDescription[]{
           new UnitaryClause(idField,id)});
-        params.add(id);
         IResultSet set = performQuery("SELECT * FROM "+getTableName()+" WHERE "+
           query+" FOR UPDATE",params,null,null);
         HashMap values = new HashMap();



Mime
View raw message