portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets/browser DatabaseBrowserAction.java
Date Thu, 02 May 2002 02:41:33 GMT
taylor      02/05/01 19:41:33

  Modified:    src/java/org/apache/jetspeed/modules/actions/portlets/browser
                        DatabaseBrowserAction.java
  Log:
  Corrected numbering bug - was adding a next button even when there were no more rows.
  
  Revision  Changes    Path
  1.16      +2 -2      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets/browser/DatabaseBrowserAction.java
  
  Index: DatabaseBrowserAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets/browser/DatabaseBrowserAction.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- DatabaseBrowserAction.java	27 Apr 2002 21:14:05 -0000	1.15
  +++ DatabaseBrowserAction.java	2 May 2002 02:41:33 -0000	1.16
  @@ -112,7 +112,7 @@
    * according to the quey speciified by the user.
    *
    * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
  - * @version $Id: DatabaseBrowserAction.java,v 1.15 2002/04/27 21:14:05 taylor Exp $
  + * @version $Id: DatabaseBrowserAction.java,v 1.16 2002/05/02 02:41:33 taylor Exp $
    */
   public class DatabaseBrowserAction extends VelocityPortletAction implements BrowserQuery
   {
  @@ -269,7 +269,7 @@
               {
                   resultSetSize = iterator.getResultSetSize();
   
  -                if(next <= resultSetSize)
  +                if(next < resultSetSize)
                   {
                       context.put(NEXT, String.valueOf(next));
                   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>


Mime
View raw message