User: slaboure Date: 02/01/12 08:57:16 Modified: src/main/org/jboss/metadata BeanMetaData.java Log: Allow boolean value of the clustered element to be case insensitive. BTW, the testbeancluster.jar wasn't deployed as a set of clustered beans for this reason ("true" was typed instead of "True") Revision Changes Path 1.35 +2 -2 jboss/src/main/org/jboss/metadata/BeanMetaData.java Index: BeanMetaData.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/metadata/BeanMetaData.java,v retrieving revision 1.34 retrieving revision 1.35 diff -u -r1.34 -r1.35 --- BeanMetaData.java 2002/01/03 04:00:59 1.34 +++ BeanMetaData.java 2002/01/12 16:57:16 1.35 @@ -31,7 +31,7 @@ * @author <a href="mailto:[EMAIL PROTECTED]">Scott Stark</a>. * @author <a href="mailto:[EMAIL PROTECTED]">Ole Husgaard</a> * @author <a href="mailto:[EMAIL PROTECTED]">Bill Burke</a> - * @version $Revision: 1.34 $ + * @version $Revision: 1.35 $ * * <p><b>Revisions:</b><br> * <p><b>2001/10/16: billb</b> @@ -516,7 +516,7 @@ // Determine if the bean is to be deployed in the cluster (more advanced config will be added in the future) // String clusteredElt = getElementContent(getOptionalChild(element, "clustered"), (clustered? "True" : "False")); - clustered = clusteredElt.equals ("True"); + clustered = clusteredElt.equalsIgnoreCase ("True"); Element clusterConfigElement = getOptionalChild(element, "cluster-config");
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development