[jboss-cvs] jboss-seam/src/main/org/jboss/seam/framework ...

Gavin King gavin.king at jboss.com
Wed May 30 15:10:47 EDT 2007


  User: gavin   
  Date: 07/05/30 15:10:47

  Modified:    src/main/org/jboss/seam/framework  Query.java
  Log:
  oops, sublist() is totally different to substring()
  
  Revision  Changes    Path
  1.32      +1 -1      jboss-seam/src/main/org/jboss/seam/framework/Query.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Query.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/framework/Query.java,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -b -r1.31 -r1.32
  --- Query.java	21 May 2007 17:31:00 -0000	1.31
  +++ Query.java	30 May 2007 19:10:47 -0000	1.32
  @@ -356,7 +356,7 @@
         Integer mr = getMaxResults();
         if ( mr!=null && results.size() > mr )
         {
  -         return results.subList(0, mr-1);
  +         return results.subList(0, mr);
         }
         else
         {
  
  
  



More information about the jboss-cvs-commits mailing list