[Castore-commits] TreeNode.java 1.3 1.4

Céline BENOIT cbenoit at adullact1.hosting.cri74.org
Jeu 11 Mai 15:43:48 CEST 2006


Update of /cvsroot/castore/castore-struts/src/java/fr/emn/castor/struts/common/tree
In directory adullact1:/tmp/cvs-serv24343/src/java/fr/emn/castor/struts/common/tree

Modified Files:
	TreeNode.java 
Log Message:
modification du code lié aux constantes TRUE, FALSE supprimée vers  VraiFauxEnum 

Index: TreeNode.java
===================================================================
RCS file: /cvsroot/castore/castore-struts/src/java/fr/emn/castor/struts/common/tree/TreeNode.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** TreeNode.java	23 Jan 2006 10:29:51 -0000	1.3
--- TreeNode.java	11 May 2006 13:43:46 -0000	1.4
***************
*** 43,47 ****
  import java.util.Collection;
  
! import fr.emn.castor.common.Constants;
  
  public class TreeNode {
--- 43,47 ----
  import java.util.Collection;
  
! import fr.emn.castor.common.Constants.VraiFauxEnum;
  
  public class TreeNode {
***************
*** 57,61 ****
      private boolean showChildren;
  
!     private String isRoot = Constants.FALSE;
  
      private boolean showThisNode = false;
--- 57,61 ----
      private boolean showChildren;
  
!     private VraiFauxEnum isRoot = VraiFauxEnum.FAUX;
  
      private boolean showThisNode = false;
***************
*** 143,151 ****
      }
  
!     public final void setIsRoot(final String bool) {
          this.isRoot = bool;
      }
  
!     public final String getIsRoot() {
          return this.isRoot;
      }
--- 143,151 ----
      }
  
!     public final void setIsRoot(final VraiFauxEnum bool) {
          this.isRoot = bool;
      }
  
!     public VraiFauxEnum getIsRoot() {
          return this.isRoot;
      }




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