openamf/src/java/org/openamf/recordset ASRecordSet.java,1.9,1.10

[email protected]
Newsgroups gmane.comp.java.openamf.cvs
Message-ID <[email protected]>
Update of /cvsroot/openamf/openamf/src/java/org/openamf/recordset
In directory sc8-pr-cvs1:/tmp/cvs-serv23341/src/java/org/openamf/recordset

Modified Files:
	ASRecordSet.java 
Log Message:
use List instead of ArrayList for more flexability

Index: ASRecordSet.java
===================================================================
RCS file: /cvsroot/openamf/openamf/src/java/org/openamf/recordset/ASRecordSet.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** ASRecordSet.java	1 May 2003 01:00:46 -0000	1.9
--- ASRecordSet.java	28 May 2003 04:44:44 -0000	1.10
***************
*** 64,71 ****
  	}
  
! 	public ArrayList getInitialData() {
! 		return (ArrayList) serverInfo.get(SI_INITIAL_DATA);
  	}
! 	public void setInitialData(ArrayList initialData) {
  		serverInfo.put(SI_INITIAL_DATA, initialData);
  	}
--- 64,71 ----
  	}
  
! 	public List getInitialData() {
! 		return (List) serverInfo.get(SI_INITIAL_DATA);
  	}
! 	public void setInitialData(List initialData) {
  		serverInfo.put(SI_INITIAL_DATA, initialData);
  	}
***************
*** 145,149 ****
  	 * @param rows ArrayList containing a ArrayList for each row
  	 */
! 	public void populate(String[] columnNames, ArrayList rows) {
  		setInitialData(rows);
  		setTotalCount(rows.size());
--- 145,149 ----
  	 * @param rows ArrayList containing a ArrayList for each row
  	 */
! 	public void populate(String[] columnNames, List rows) {
  		setInitialData(rows);
  		setTotalCount(rows.size());




-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.