]> source.dussan.org Git - poi.git/commitdiff
Force OPOIFS test to explicitly create OPOIFS instance
authorNick Burch <nick@apache.org>
Tue, 26 May 2015 17:59:13 +0000 (17:59 +0000)
committerNick Burch <nick@apache.org>
Tue, 26 May 2015 17:59:13 +0000 (17:59 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1681802 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/poifs/filesystem/TestFileSystemBugs.java

index 3de3ccb8dcec018eb99a7d7d7e002e5648765e63..2f7c67f37936445546fa09cd35bfd3d2fb5f1f02 100644 (file)
@@ -67,9 +67,9 @@ public final class TestFileSystemBugs extends TestCase {
         if (openedFSs == null) openedFSs = new ArrayList<NPOIFSFileSystem>();
         openedFSs.add(nfs);
         
-        POIFSFileSystem ofs = null;
+        OPOIFSFileSystem ofs = null;
         try {
-            ofs = new POIFSFileSystem(inps[1]);
+            ofs = new OPOIFSFileSystem(inps[1]);
             if (oldFails) fail("POIFSFileSystem should have failed but didn't");
         } catch (Exception e) {
             if (!oldFails) throw e;