avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/info/src/java/org/apache/avalon/framework/tools/infobuilder XMLInfoCreator.java
Date Sun, 08 Sep 2002 05:23:40 GMT
donaldp     2002/09/07 22:23:40

  Modified:    info/src/java/org/apache/avalon/framework/tools/infobuilder
                        XMLInfoCreator.java
  Log:
  Attributes can no longer have any content
  
  Revision  Changes    Path
  1.6       +2 -6      jakarta-avalon-excalibur/info/src/java/org/apache/avalon/framework/tools/infobuilder/XMLInfoCreator.java
  
  Index: XMLInfoCreator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/info/src/java/org/apache/avalon/framework/tools/infobuilder/XMLInfoCreator.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- XMLInfoCreator.java	8 Sep 2002 05:21:46 -0000	1.5
  +++ XMLInfoCreator.java	8 Sep 2002 05:23:40 -0000	1.6
  @@ -351,11 +351,7 @@
           {
               Configuration child = children[ i ];
               final String key = child.getAttribute( "key" );
  -            String value = child.getAttribute( "value", null );
  -            if( null == value )
  -            {
  -                value = child.getValue();
  -            }
  +            final String value = child.getAttribute( "value" );
               attributes.setProperty( key, value );
           }
           return attributes;
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message