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/assembly/src/java/org/apache/avalon/assembly/appliance DefaultApplianceRepository.java
Date Mon, 17 Feb 2003 12:05:10 GMT
mcconnell    2003/02/17 04:05:10

  Modified:    assembly/src/java/org/apache/avalon/assembly/appliance
                        DefaultApplianceRepository.java
  Log:
  Corrected a bug relating to the creation of appliance base URLs.
  
  Revision  Changes    Path
  1.3       +4 -4      avalon-sandbox/assembly/src/java/org/apache/avalon/assembly/appliance/DefaultApplianceRepository.java
  
  Index: DefaultApplianceRepository.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/assembly/src/java/org/apache/avalon/assembly/appliance/DefaultApplianceRepository.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DefaultApplianceRepository.java	7 Feb 2003 15:38:57 -0000	1.2
  +++ DefaultApplianceRepository.java	17 Feb 2003 12:05:10 -0000	1.3
  @@ -150,16 +150,16 @@
           }
           else
           {
  -
  +            final URL url = parent.getURL();
               try
               {
                   if( name.endsWith("/") )
                   {
  -                    m_url = new URL( parent.getURL(), name );
  +                    m_url = new URL( url, url.getPath() + name );
                   }
                   else
                   {
  -                    m_url = new URL( parent.getURL(), name + "/" );
  +                    m_url = new URL( url, url.getPath() + name + "/" );
                   }
               }
               catch( Throwable e )
  
  
  

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


Mime
View raw message