Browse Source

Removed unnecessary try block.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271917 13f79535-47bb-0310-9956-ffa450edef68
master
adammurdoch 23 years ago
parent
commit
7513ab1efa
2 changed files with 1 additions and 10 deletions
  1. +0
    -1
      proposal/myrmidon/src/java/org/apache/myrmidon/framework/factories/Resources.properties
  2. +1
    -9
      proposal/myrmidon/src/java/org/apache/myrmidon/framework/factories/VfsManagerFactory.java

+ 0
- 1
proposal/myrmidon/src/java/org/apache/myrmidon/framework/factories/Resources.properties View File

@@ -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}".

+ 1
- 9
proposal/myrmidon/src/java/org/apache/myrmidon/framework/factories/VfsManagerFactory.java View File

@@ -31,14 +31,6 @@ public class VfsManagerFactory
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();
}
}

Loading…
Cancel
Save