From: Sean S. <su...@us...> - 2004-09-11 16:49:23
|
Update of /cvsroot/openamf/openamf/src/java/org/openamf/recordset In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15229/src/java/org/openamf/recordset Modified Files: ASRecordSet.java Log Message: modified getRecords method. This code modification was suggested by Adam Heath [openamf-developer, August 3 2004] Index: ASRecordSet.java =================================================================== RCS file: /cvsroot/openamf/openamf/src/java/org/openamf/recordset/ASRecordSet.java,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** ASRecordSet.java 11 Sep 2004 16:43:20 -0000 1.27 --- ASRecordSet.java 11 Sep 2004 16:49:10 -0000 1.28 *************** *** 98,102 **** public Map getRecords(int from, int count) { ! List page = rows.subList(from, from + count); Map records = new HashMap(); --- 98,102 ---- public Map getRecords(int from, int count) { ! List page = rows.subList(from - 1, from - 1 + count); Map records = new HashMap(); |