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/containerkit/src/java/org/apache/excalibur/containerkit/infobuilder XMLInfoCreator.java
Date Fri, 02 Aug 2002 09:40:26 GMT
donaldp     2002/08/02 02:40:26

  Modified:    containerkit/src/java/org/apache/excalibur/containerkit/infobuilder
                        XMLInfoCreator.java
  Log:
  inline var usage
  
  Revision  Changes    Path
  1.5       +4 -5      jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/infobuilder/XMLInfoCreator.java
  
  Index: XMLInfoCreator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/infobuilder/XMLInfoCreator.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- XMLInfoCreator.java	2 Jul 2002 22:08:08 -0000	1.4
  +++ XMLInfoCreator.java	2 Aug 2002 09:40:26 -0000	1.5
  @@ -52,14 +52,13 @@
        * @return the created ComponentInfo
        * @throws ConfigurationException if an error occurs
        */
  -    public ComponentInfo createComponentInfo( String implementationKey,
  -                                              InputStream inputStream )
  +    public ComponentInfo createComponentInfo( final String implementationKey,
  +                                              final InputStream inputStream )
           throws Exception
       {
           final InputSource input = new InputSource( inputStream );
  -        final String classname = implementationKey;
           final Configuration configuration = ConfigurationBuilder.build( input );
  -        return build( classname, configuration );
  +        return build( implementationKey, configuration );
       }
   
       /**
  
  
  

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