[Castore-commits] RechercheSimpleForm.java 1.4 1.5 RechercheAvanceeForm.java 1.4 1.5

Arnaud Thimel thimel at adullact1.hosting.cri74.org
Jeu 18 Mai 17:42:46 CEST 2006


Update of /cvsroot/castore/castore-struts/src/java/fr/emn/castor/struts/forms/recherches
In directory adullact1:/tmp/cvs-serv24993/src/java/fr/emn/castor/struts/forms/recherches

Modified Files:
	RechercheSimpleForm.java RechercheAvanceeForm.java 
Log Message:
Suppressions de quelques iterators restants

Index: RechercheAvanceeForm.java
===================================================================
RCS file: /cvsroot/castore/castore-struts/src/java/fr/emn/castor/struts/forms/recherches/RechercheAvanceeForm.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** RechercheAvanceeForm.java	23 Jan 2006 10:29:53 -0000	1.4
--- RechercheAvanceeForm.java	18 May 2006 15:42:44 -0000	1.5
***************
*** 44,47 ****
--- 44,48 ----
  import java.util.HashMap;
  import java.util.Iterator;
+ import java.util.List;
  import java.util.Map;
  import java.util.Set;
***************
*** 131,136 ****
              Map profilMap = Facade.getInstance().getProfilMap(user);
              if (!profilMap.isEmpty()) {
!                 Iterator lastRequest = (Iterator) profilMap
!                     .get(UsersConstants.INFO_PROFIL_LAST_REQUEST);
                  this.liensAnciennesRequetes = new ArrayList();
                  Collection sauveSession = new ArrayList();
--- 132,137 ----
              Map profilMap = Facade.getInstance().getProfilMap(user);
              if (!profilMap.isEmpty()) {
!                 Iterator lastRequest = ((List) profilMap
!                     .get(UsersConstants.INFO_PROFIL_LAST_REQUEST)).iterator();
                  this.liensAnciennesRequetes = new ArrayList();
                  Collection sauveSession = new ArrayList();

Index: RechercheSimpleForm.java
===================================================================
RCS file: /cvsroot/castore/castore-struts/src/java/fr/emn/castor/struts/forms/recherches/RechercheSimpleForm.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** RechercheSimpleForm.java	23 Jan 2006 10:29:53 -0000	1.4
--- RechercheSimpleForm.java	18 May 2006 15:42:44 -0000	1.5
***************
*** 44,47 ****
--- 44,48 ----
  import java.util.HashMap;
  import java.util.Iterator;
+ import java.util.List;
  import java.util.Map;
  
***************
*** 137,142 ****
              if (!profilMap.isEmpty()) {
  
!                 Iterator lastRequest = (Iterator) profilMap
!                     .get(UsersConstants.INFO_PROFIL_LAST_REQUEST);
                  this.liensAnciennesRequetes = new ArrayList();
                  Collection sauveSession = new ArrayList();
--- 138,143 ----
              if (!profilMap.isEmpty()) {
  
!                 Iterator lastRequest = ((List) profilMap
!                     .get(UsersConstants.INFO_PROFIL_LAST_REQUEST)).iterator();
                  this.liensAnciennesRequetes = new ArrayList();
                  Collection sauveSession = new ArrayList();




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