This commit is contained in:
Jan Bartel 2017-11-21 17:52:51 +01:00
parent f3041b783e
commit 26b7058186
1 changed files with 0 additions and 9 deletions

View File

@ -171,15 +171,6 @@ public class URLResource extends Resource
public File getFile()
throws IOException
{
// Try the permission hack
if (checkConnection())
{
Permission perm = _connection.getPermission();
if (perm instanceof java.io.FilePermission)
return new File(perm.getName());
}
// Don't know the file
return null;
}