avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atagu...@apache.org
Subject cvs commit: avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/util ContextManager.java
Date Wed, 11 Jun 2003 14:18:06 GMT
atagunov    2003/06/11 07:18:06

  Modified:    fortress/src/java/org/apache/avalon/fortress/util
                        ContextManager.java
  Log:
  making use of the new DefaultConfigurationBuilder.build(InputSource,String systemId) api
for better error messages in ConfigurationExceptions
  
  Revision  Changes    Path
  1.44      +2 -2      avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/util/ContextManager.java
  
  Index: ContextManager.java
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/util/ContextManager.java,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- ContextManager.java	11 Jun 2003 10:48:15 -0000	1.43
  +++ ContextManager.java	11 Jun 2003 14:18:06 -0000	1.44
  @@ -761,7 +761,7 @@
                   configBuilder = new DefaultConfigurationBuilder();
               }
   
  -            return configBuilder.build( src.getInputStream() );
  +            return configBuilder.build( src.getInputStream(), src.getURI() );
           }
           catch ( Exception e )
           {
  
  
  

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


Mime
View raw message