mcconnell    2004/01/09 15:04:00

  Modified:    merlin/kernel/impl/src/java/org/apache/avalon/merlin/impl
                        DefaultFactory.java
  Log:
  Bug located in 3.2.4, 3.3 and 3.4-DEV - DefaultFactory.criteria.put( 
"avalon.repository.proxy.host", hosts ) has an incorrect argument - it should be 
'host' - error only shows up when ou try to declare an application repo proxy.
  
  Revision  Changes    Path
  1.11      +1 -1      
avalon/merlin/kernel/impl/src/java/org/apache/avalon/merlin/impl/DefaultFactory.java
  
  Index: DefaultFactory.java
  ===================================================================
  RCS file: 
/home/cvs/avalon/merlin/kernel/impl/src/java/org/apache/avalon/merlin/impl/DefaultFactory.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- DefaultFactory.java       4 Jan 2004 13:59:02 -0000       1.10
  +++ DefaultFactory.java       9 Jan 2004 23:04:00 -0000       1.11
  @@ -702,7 +702,7 @@
               {
                   final String host = 
                     proxyConfig.getChild( "host" ).getValue( null );
  -                criteria.put( "avalon.repository.proxy.host", hosts );
  +                criteria.put( "avalon.repository.proxy.host", host );
   
                   final int port = 
                     proxyConfig.getChild( "port" ).getValueAsInteger( 0 );
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to