review of mountIfNeeded contract
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This commit is contained in:
parent
e0c9943f4d
commit
f2a20436d4
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue