[Castore-commits] ListUpdaterManager.java 1.1 1.2
Céline BENOIT
cbenoit at adullact1.hosting.cri74.org
Jeu 11 Mai 15:34:10 CEST 2006
Update of /cvsroot/castore/castore-core/src/java/fr/emn/castor/documents/metier/docGenerique/soumission/resources/liste
In directory adullact1:/tmp/cvs-serv23588/src/java/fr/emn/castor/documents/metier/docGenerique/soumission/resources/liste
Modified Files:
ListUpdaterManager.java
Log Message:
modification du code lié aux constantes TRUE, FALSE supprimée en VraiFauxEnum
Index: ListUpdaterManager.java
===================================================================
RCS file: /cvsroot/castore/castore-core/src/java/fr/emn/castor/documents/metier/docGenerique/soumission/resources/liste/ListUpdaterManager.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ListUpdaterManager.java 22 Mar 2006 14:30:55 -0000 1.1
--- ListUpdaterManager.java 11 May 2006 13:34:08 -0000 1.2
***************
*** 45,48 ****
--- 45,49 ----
import fr.emn.castor.common.Constants;
+ import fr.emn.castor.common.Constants.VraiFauxEnum;
import fr.emn.castor.documents.Facade;
***************
*** 85,94 ****
Map md = (Map) mdMap.get(key);
String controlledList = (String) md.get("controlled_list");
! if (controlledList.equals(Constants.TRUE)) {
String editableList = (String) md.get("editableList");
! if (editableList.equals(Constants.TRUE)) {
String xmlFile = (String) md.get("xmlFile");
String[] tabValues = null;
! if (((String) md.get("multi")).equals(Constants.TRUE)) {
Map newValues = (Map) md.get("value");
Set valueKeys = newValues.keySet();
--- 86,95 ----
Map md = (Map) mdMap.get(key);
String controlledList = (String) md.get("controlled_list");
! if (controlledList.equals(VraiFauxEnum.VRAI)) {
String editableList = (String) md.get("editableList");
! if (editableList.equals(VraiFauxEnum.VRAI)) {
String xmlFile = (String) md.get("xmlFile");
String[] tabValues = null;
! if (((String) md.get("multi")).equals(VraiFauxEnum.VRAI)) {
Map newValues = (Map) md.get("value");
Set valueKeys = newValues.keySet();
Plus d'informations sur la liste de diffusion Castore-commits