avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon-sandbox/meta/src/java/org/apache/avalon/meta/info/builder XMLTypeCreator.java
Date Fri, 27 Dec 2002 16:32:04 GMT
mcconnell    2002/12/27 08:32:04

  Modified:    meta/src/java/org/apache/avalon/meta/info/builder
                        XMLTypeCreator.java
  Log:
  COmmented out top-level name checking.
  
  Revision  Changes    Path
  1.5       +10 -10    avalon-sandbox/meta/src/java/org/apache/avalon/meta/info/builder/XMLTypeCreator.java
  
  Index: XMLTypeCreator.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/meta/src/java/org/apache/avalon/meta/info/builder/XMLTypeCreator.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- XMLTypeCreator.java	19 Dec 2002 10:52:47 -0000	1.4
  +++ XMLTypeCreator.java	27 Dec 2002 16:32:03 -0000	1.5
  @@ -122,15 +122,15 @@
       public Type createType( final String classname, final Configuration info, final Configuration
defaults )
           throws Exception
       {
  -        final String topLevelName = info.getName();
  -        if( !topLevelName.equals( "type" ) )
  -        {
  -            final String message =
  -                REZ.getString( "builder.bad-toplevel-element.error",
  -                               classname,
  -                               topLevelName );
  -            throw new ConfigurationException( message );
  -        }
  +        //final String topLevelName = info.getName();
  +        //if( !topLevelName.equals( "type" ) )
  +        //{
  +        //    final String message =
  +        //        REZ.getString( "builder.bad-toplevel-element.error",
  +        //                       classname,
  +        //                       topLevelName );
  +        //    throw new ConfigurationException( message );
  +        //}
   
           Configuration configuration = null;
   
  
  
  

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