Commit e17c4b11 authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

vfs: chimera: do not catch-rethrow

parent 0250c8e0
......@@ -127,12 +127,8 @@ public class ChimeraVfs implements VirtualFileSystem {
@Override
public List<DirectoryEntry> list(Inode inode) throws IOException {
FsInode parentFsInode = toFsInode(inode);
try {
List<HimeraDirectoryEntry> list = DirectoryStreamHelper.listOf(parentFsInode);
return Lists.transform(list, new ChimeraDirectoryEntryToVfs());
} catch (IOException e) {
throw new IOException(e.getMessage());
}
List<HimeraDirectoryEntry> list = DirectoryStreamHelper.listOf(parentFsInode);
return Lists.transform(list, new ChimeraDirectoryEntryToVfs());
}
@Override
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment