ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adammurd...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/framework/factories VfsManagerFactory.java Resources.properties
Date Wed, 20 Mar 2002 08:09:53 GMT
adammurdoch    02/03/20 00:09:53

  Modified:    proposal/myrmidon/src/java/org/apache/myrmidon/framework/factories
                        VfsManagerFactory.java Resources.properties
  Log:
  Removed unnecessary try block.
  
  Revision  Changes    Path
  1.3       +2 -10     jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/framework/factories/VfsManagerFactory.java
  
  Index: VfsManagerFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/framework/factories/VfsManagerFactory.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- VfsManagerFactory.java	9 Mar 2002 10:31:31 -0000	1.2
  +++ VfsManagerFactory.java	20 Mar 2002 08:09:53 -0000	1.3
  @@ -17,7 +17,7 @@
    * A factory that creates the {@link FileSystemManager} service.
    *
    * @author <a href="mailto:adammurdoch@apache.org">Adam Murdoch</a>
  - * @version $Revision: 1.2 $ $Date: 2002/03/09 10:31:31 $
  + * @version $Revision: 1.3 $ $Date: 2002/03/20 08:09:53 $
    */
   public class VfsManagerFactory
       implements ServiceFactory
  @@ -31,14 +31,6 @@
       public Object createService()
           throws AntServiceException
       {
  -        try
  -        {
  -            return new VfsManager();
  -        }
  -        catch( Exception e )
  -        {
  -            final String message = REZ.getString( "create-vfs-manager.error" );
  -            throw new AntServiceException( message );
  -        }
  +        return new VfsManager();
       }
   }
  
  
  
  1.3       +0 -1      jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/framework/factories/Resources.properties
  
  Index: Resources.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/framework/factories/Resources.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Resources.properties	9 Mar 2002 10:31:31 -0000	1.2
  +++ Resources.properties	20 Mar 2002 08:09:53 -0000	1.3
  @@ -1,3 +1,2 @@
   missing-home-dir.error=Cannot locate antRun scripts: Property 'myrmidon.home' not specified
  -create-vfs-manager.error=Could not create the VFS manager.
   create-provider.error=Could not create file system provider "{0}".
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message