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/merlin/composition/src/java/org/apache/avalon/composition/repository/impl FileRepository.java
Date Mon, 14 Jul 2003 04:42:42 GMT
mcconnell    2003/07/13 21:42:42

  Modified:    merlin/composition/src/java/org/apache/avalon/composition/repository/impl
                        FileRepository.java
  Log:
  Remove deead code.
  
  Revision  Changes    Path
  1.4       +1 -24     avalon-sandbox/merlin/composition/src/java/org/apache/avalon/composition/repository/impl/FileRepository.java
  
  Index: FileRepository.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/merlin/composition/src/java/org/apache/avalon/composition/repository/impl/FileRepository.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- FileRepository.java	8 Jul 2003 15:01:23 -0000	1.3
  +++ FileRepository.java	14 Jul 2003 04:42:42 -0000	1.4
  @@ -375,7 +375,6 @@
           }
           catch( Throwable e )
           {
  -System.out.println( "7" );
               final String error =
                 "Unexpected error while attempting to resolve artifact: " + path;
               throw new RepositoryException( error, e );
  @@ -455,27 +454,6 @@
                 "Unable to resolve URL for resource: " + resource;
               throw new RepositoryException( error );
           }
  -
  -        /*
  -        try
  -        {
  -            if( type.equals( "jar" ) )
  -            {
  -                final URL url = resource.toURL();
  -                return new URL( "jar:" + url.toString() + "!/" );
  -            }
  -            else
  -            {
  -                return resource.toURL();
  -            }
  -        } 
  -        catch( Throwable e )
  -        {
  -            final String error = 
  -              "Unable to resolve URL for resource: " + resource;
  -            throw new RepositoryException( error );
  -        }
  -        */
       }
   
       private int verify( final String artifact ) throws RepositoryException
  @@ -499,5 +477,4 @@
       {
           return artifact.substring( index + 1 );
       }
  -
   }
  
  
  

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


Mime
View raw message