You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mc...@apache.org on 2003/07/14 06:42:42 UTC

cvs commit: avalon-sandbox/merlin/composition/src/java/org/apache/avalon/composition/repository/impl FileRepository.java

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