review of mountIfNeeded contract

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This commit is contained in:
Ludovic Orban 2022-08-03 13:03:18 +02:00
parent e0c9943f4d
commit f2a20436d4
1 changed files with 1 additions and 6 deletions

View File

@ -86,12 +86,7 @@ public abstract class Resource
return null;
try
{
if (scheme.equalsIgnoreCase("jar"))
{
return FileSystemPool.INSTANCE.mount(uri);
}
// TODO: review contract, should this be null, or an empty mount?
return null;
return FileSystemPool.INSTANCE.mount(uri);
}
catch (IOException ioe)
{