openamf/src/java/org/openamf/recordset ASRecordSet.java,1.15,1.16

[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-serv17581/src/java/org/openamf/recordset

Modified Files:
	ASRecordSet.java 
Log Message:
change ArrayList -> List in fields declaration, functions arguments
add javadoc version tag



Index: ASRecordSet.java
===================================================================
RCS file: /cvsroot/openamf/openamf/src/java/org/openamf/recordset/ASRecordSet.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** ASRecordSet.java	14 Jul 2003 09:01:26 -0000	1.15
--- ASRecordSet.java	5 Aug 2003 07:41:53 -0000	1.16
***************
*** 20,23 ****
--- 20,27 ----
  import org.openamf.config.OpenAMFConfig;
  
+ /**
+  *
+  * @version $Revision$, $Date$
+  */
  public class ASRecordSet extends ASObject {
  
***************
*** 141,148 ****
  
  			int rowIndex = 0;
! 			ArrayList initialData = new ArrayList();
  			while (rs.next()) {
  				rowIndex++;
! 				ArrayList row = new ArrayList();
  				for (int column = 0; column < columnCount; column++) {
  					if (rowIndex == 1) {
--- 145,152 ----
  
  			int rowIndex = 0;
! 			List initialData = new ArrayList();
  			while (rs.next()) {
  				rowIndex++;
! 				List row = new ArrayList();
  				for (int column = 0; column < columnCount; column++) {
  					if (rowIndex == 1) {
***************
*** 196,200 ****
  			InvocationTargetException {
  
! 		ArrayList names = new ArrayList();
  		Object firstBean = list.get(0);
  		PropertyDescriptor[] properties =
--- 200,204 ----
  			InvocationTargetException {
  
! 		List names = new ArrayList();
  		Object firstBean = list.get(0);
  		PropertyDescriptor[] properties =
***************
*** 211,220 ****
  
  		int rowIndex = 0;
! 		ArrayList initialData = new ArrayList();
  		Iterator iterator = list.iterator();
  		while (iterator.hasNext()) {
  			rowIndex++;
  			Object bean = (Object) iterator.next();
! 			ArrayList row = new ArrayList();
  			for (int i = 0; i < properties.length; i++) {
  				PropertyDescriptor descriptor = properties[i];
--- 215,224 ----
  
  		int rowIndex = 0;
! 		List initialData = new ArrayList();
  		Iterator iterator = list.iterator();
  		while (iterator.hasNext()) {
  			rowIndex++;
  			Object bean = (Object) iterator.next();
! 			List row = new ArrayList();
  			for (int i = 0; i < properties.length; i++) {
  				PropertyDescriptor descriptor = properties[i];




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
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.