[Castore-commits] DocumentCollection.java 1.3 1.4

Arnaud Thimel thimel at adullact1.hosting.cri74.org
Lun 24 Avr 19:46:34 CEST 2006


Update of /cvsroot/castore/castore-core/src/java/fr/emn/castor/collections/metier
In directory adullact1:/tmp/cvs-serv19306/src/java/fr/emn/castor/collections/metier

Modified Files:
	DocumentCollection.java 
Log Message:
- Retrait des Iterator sur la facade des colletions
- Rajout de generics par endroits

Index: DocumentCollection.java
===================================================================
RCS file: /cvsroot/castore/castore-core/src/java/fr/emn/castor/collections/metier/DocumentCollection.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** DocumentCollection.java	23 Jan 2006 10:27:43 -0000	1.3
--- DocumentCollection.java	24 Apr 2006 17:46:32 -0000	1.4
***************
*** 78,82 ****
          this.description = desc;
          this.setCreateur(userId);
!         this.listOfDocuments = new ArrayList();
          this.setNodeId("collection-" + JDOFactory.getIdFactory().getId());
      }
--- 78,82 ----
          this.description = desc;
          this.setCreateur(userId);
!         this.listOfDocuments = new ArrayList<String>();
          this.setNodeId("collection-" + JDOFactory.getIdFactory().getId());
      }
***************
*** 90,94 ****
       * liste des documents contenus dans la collection.
       */
!     private ArrayList listOfDocuments;
  
      /**
--- 90,94 ----
       * liste des documents contenus dans la collection.
       */
!     private ArrayList<String> listOfDocuments;
  
      /**
***************
*** 174,178 ****
       * @return liste des documents rattaches a la collection
       */
!     public final ArrayList getListOfDocuments() {
          return this.listOfDocuments;
      }
--- 174,178 ----
       * @return liste des documents rattaches a la collection
       */
!     public final ArrayList<String> getListOfDocuments() {
          return this.listOfDocuments;
      }




Plus d'informations sur la liste de diffusion Castore-commits