You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2013/08/14 11:44:08 UTC
svn commit: r1513789 -
/manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/Jobs.java
Author: kwright
Date: Wed Aug 14 09:44:07 2013
New Revision: 1513789
URL: http://svn.apache.org/r1513789
Log:
Fix job save; part of CONNECTORS-764.
Modified:
manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/Jobs.java
Modified: manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/Jobs.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/Jobs.java?rev=1513789&r1=1513788&r2=1513789&view=diff
==============================================================================
--- manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/Jobs.java (original)
+++ manifoldcf/trunk/framework/pull-agent/src/main/java/org/apache/manifoldcf/crawler/jobs/Jobs.java Wed Aug 14 09:44:07 2013
@@ -763,14 +763,14 @@ public class Jobs extends org.apache.man
{
for (String linkType : (Collection<String>)filterRows.keySet())
{
- Integer oldCount = (Integer)filterRows.get(linkType);
- Integer newCount = (Integer)newFilterRows.get(linkType);
+ Long oldCount = (Long)filterRows.get(linkType);
+ Long newCount = (Long)newFilterRows.get(linkType);
if (oldCount == null || newCount == null)
{
isSame = false;
break;
}
- else if (oldCount.intValue() != newCount.intValue())
+ else if (oldCount.longValue() != newCount.longValue())
{
isSame = false;
break;