Author: gttersen
Date: 2007-05-02 15:19:03 +0200 (Wed, 02 May 2007)
New Revision: 4938

Modified:
   
trunk/core-api/src/main/java/no/schibstedsok/searchportal/mode/command/NewsMyNewsSearchCommand.java
Log:
Fixed stack overflow bug.

Modified: 
trunk/core-api/src/main/java/no/schibstedsok/searchportal/mode/command/NewsMyNewsSearchCommand.java
===================================================================
--- 
trunk/core-api/src/main/java/no/schibstedsok/searchportal/mode/command/NewsMyNewsSearchCommand.java
 2007-05-02 12:46:42 UTC (rev 4937)
+++ 
trunk/core-api/src/main/java/no/schibstedsok/searchportal/mode/command/NewsMyNewsSearchCommand.java
 2007-05-02 13:19:03 UTC (rev 4938)
@@ -101,7 +101,7 @@
         int offset = getOffset();
         if (offset + returnedResults < searchResult.getHitCount()) {
             LOG.debug("Setting next offset to: " + (offset + returnedResults));
-            setNextOffset(searchResult, offset + returnedResults);
+            NewsEspSearchCommand.addNextOffsetField(offset + returnedResults, 
searchResult);
         }
     }
 

_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits

Reply via email to