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/info SchemaDescriptor.java
Date Fri, 15 Nov 2002 22:19:51 GMT
donaldp     2002/11/15 14:19:51

  Modified:    info/src/java/org/apache/avalon/framework/info
                        SchemaDescriptor.java
  Log:
  Allow empty categories
  
  Revision  Changes    Path
  1.2       +4 -3      jakarta-avalon-excalibur/info/src/java/org/apache/avalon/framework/info/SchemaDescriptor.java
  
  Index: SchemaDescriptor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/info/src/java/org/apache/avalon/framework/info/SchemaDescriptor.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SchemaDescriptor.java	14 Nov 2002 07:41:11 -0000	1.1
  +++ SchemaDescriptor.java	15 Nov 2002 22:19:51 -0000	1.2
  @@ -72,10 +72,11 @@
           }
   
           if( !"parameters".equals( category ) &&
  -            !"configuration".equals( category ) )
  +            !"configuration".equals( category ) &&
  +            !"".equals( category ) )
           {
               final String message = "category = " + category + ". Should be" +
  -                "parameters or configuration";
  +                "parameters or configuration or empty";
               throw new IllegalArgumentException( message );
           }
   
  
  
  

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