db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/core PersistenceBrokerImpl.java
Date Tue, 06 May 2003 20:17:00 GMT
brj         2003/05/06 13:17:00

  Modified:    src/java/org/apache/ojb/broker/core
                        PersistenceBrokerImpl.java
  Log:
  fixed problem with startIndex > endIndex
  
  Revision  Changes    Path
  1.7       +2 -3      db-ojb/src/java/org/apache/ojb/broker/core/PersistenceBrokerImpl.java
  
  Index: PersistenceBrokerImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/core/PersistenceBrokerImpl.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- PersistenceBrokerImpl.java	4 May 2003 11:06:04 -0000	1.6
  +++ PersistenceBrokerImpl.java	6 May 2003 20:17:00 -0000	1.7
  @@ -1316,8 +1316,7 @@
               if (endAt < startAt)
               {
                   // BRJ : make sure endAt > startAt
  -                // thma: the next line causes a testfailure in ...odmg.ScrollableQueryResultsTest
!
  -                //endAt = iter.size();
  +                endAt = iter.size() + 1;
               }
               
               int numberOfObjectsToFetch = endAt - startAt;
  
  
  

Mime
View raw message