jon 2002/06/01 13:43:06 Modified: betwixt/src/java/org/apache/commons/betwixt/io BeanCreateRule.java Log: char instead of string -jon Revision Changes Path 1.12 +4 -4 jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt/io/BeanCreateRule.java Index: BeanCreateRule.java =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/betwixt/src/java/org/apache/commons/betwixt/io/BeanCreateRule.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- BeanCreateRule.java 30 May 2002 07:48:38 -0000 1.11 +++ BeanCreateRule.java 1 Jun 2002 20:43:06 -0000 1.12 @@ -5,7 +5,7 @@ * version 1.1, a copy of which has been included with this distribution in * the LICENSE file. * - * $Id: BeanCreateRule.java,v 1.11 2002/05/30 07:48:38 jstrachan Exp $ + * $Id: BeanCreateRule.java,v 1.12 2002/06/01 20:43:06 jon Exp $ */ package org.apache.commons.betwixt.io; @@ -33,7 +33,7 @@ * from the betwixt XML metadata.</p> * * @author <a href="mailto:[EMAIL PROTECTED]">James Strachan</a> - * @version $Revision: 1.11 $ + * @version $Revision: 1.12 $ */ public class BeanCreateRule extends Rule { @@ -228,7 +228,7 @@ ElementDescriptor grandChild = grandChildren[0]; String grandChildQName = grandChild.getQualifiedName(); if ( grandChildQName != null && grandChildQName.length() > 0 ) { - path += "/" + grandChildQName; + path += '/' + grandChildQName; } } @@ -238,7 +238,7 @@ addPrimitiveTypeRule(path, childDescriptor); } else { - Rule rule = new BeanCreateRule( childDescriptor, context, path + "/" ); + Rule rule = new BeanCreateRule( childDescriptor, context, path + '/' ); digester.addRule( path, rule ); if ( log.isDebugEnabled() ) { log.debug( "Added rule to path: "+ path + " rule: " + rule );
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>