Issue #1981
This commit is contained in:
parent
f3041b783e
commit
26b7058186
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue