Force OPOIFS test to explicitly create OPOIFS instance
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1681802 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e4b6cb6811
commit
8878be359a
@ -67,9 +67,9 @@ public final class TestFileSystemBugs extends TestCase {
|
|||||||
if (openedFSs == null) openedFSs = new ArrayList<NPOIFSFileSystem>();
|
if (openedFSs == null) openedFSs = new ArrayList<NPOIFSFileSystem>();
|
||||||
openedFSs.add(nfs);
|
openedFSs.add(nfs);
|
||||||
|
|
||||||
POIFSFileSystem ofs = null;
|
OPOIFSFileSystem ofs = null;
|
||||||
try {
|
try {
|
||||||
ofs = new POIFSFileSystem(inps[1]);
|
ofs = new OPOIFSFileSystem(inps[1]);
|
||||||
if (oldFails) fail("POIFSFileSystem should have failed but didn't");
|
if (oldFails) fail("POIFSFileSystem should have failed but didn't");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
if (!oldFails) throw e;
|
if (!oldFails) throw e;
|
||||||
|
Loading…
Reference in New Issue
Block a user