avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/meta/src/java/org/apache/excalibur/meta/model/builder XMLProfileCreator.java
Date Fri, 29 Nov 2002 15:09:27 GMT
mcconnell    2002/11/29 07:09:27

  Modified:    meta/src/java/org/apache/excalibur/meta/model/builder
                        XMLProfileCreator.java
  Log:
  patch fromn Vinay Chandran to fix ConfigurationException when name is
  not present.
  
  Revision  Changes    Path
  1.3       +2 -2      jakarta-avalon-excalibur/meta/src/java/org/apache/excalibur/meta/model/builder/XMLProfileCreator.java
  
  Index: XMLProfileCreator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/meta/src/java/org/apache/excalibur/meta/model/builder/XMLProfileCreator.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XMLProfileCreator.java	18 Nov 2002 10:41:34 -0000	1.2
  +++ XMLProfileCreator.java	29 Nov 2002 15:09:27 -0000	1.3
  @@ -452,7 +452,7 @@
       public Category createCategory( Configuration config )
           throws ConfigurationException
       {
  -        final String name = config.getAttribute( "name" );
  +        final String name = config.getAttribute( "name", "" );
           final String priority = config.getAttribute( "priority", null );
           final String target = config.getAttribute( "target", null );
           return new Category( name, priority, target );
  
  
  

--
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