roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r443151 - /incubator/roller/branches/roller_3.0/sandbox/jdobackend/src/org/apache/roller/business/datamapper/DatamapperPingQueueManagerImpl.java
Date Wed, 13 Sep 2006 22:43:35 GMT
Author: clr
Date: Wed Sep 13 15:43:34 2006
New Revision: 443151

URL: http://svn.apache.org/viewvc?view=rev&rev=443151
Log:
Datamapper update

Modified:
    incubator/roller/branches/roller_3.0/sandbox/jdobackend/src/org/apache/roller/business/datamapper/DatamapperPingQueueManagerImpl.java

Modified: incubator/roller/branches/roller_3.0/sandbox/jdobackend/src/org/apache/roller/business/datamapper/DatamapperPingQueueManagerImpl.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/sandbox/jdobackend/src/org/apache/roller/business/datamapper/DatamapperPingQueueManagerImpl.java?view=diff&rev=443151&r1=443150&r2=443151
==============================================================================
--- incubator/roller/branches/roller_3.0/sandbox/jdobackend/src/org/apache/roller/business/datamapper/DatamapperPingQueueManagerImpl.java
(original)
+++ incubator/roller/branches/roller_3.0/sandbox/jdobackend/src/org/apache/roller/business/datamapper/DatamapperPingQueueManagerImpl.java
Wed Sep 13 15:43:34 2006
@@ -43,11 +43,11 @@
     public void addQueueEntry(AutoPingData autoPing) 
             throws RollerException {
         // first, determine if an entry already exists
-        int count = (Integer)strategy.newQuery(PingQueueEntryData.class,
+        Integer count = (Integer)strategy.newQuery(PingQueueEntryData.class,
                 "countGetByPingTarget&&website")
                 .execute(new Object[]
                     {autoPing.getPingTarget(), autoPing.getWebsite()});
-        if (count > 0)
+        if (count.intValue() > 0)
             return;
 
         // create and store a new entry



Mime
View raw message