]> source.dussan.org Git - poi.git/commitdiff
bug 60742: Remove local test-code from test for bug 60512
authorDominik Stadler <centic@apache.org>
Fri, 17 Feb 2017 17:15:27 +0000 (17:15 +0000)
committerDominik Stadler <centic@apache.org>
Fri, 17 Feb 2017 17:15:27 +0000 (17:15 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1783428 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/testcases/org/apache/poi/xssf/TestXSSFCloneSheet.java

index c2c2375e780e2f9ce173c623a52c0c3f6a5c8ba1..858cf4c4634d6a23625a8f13cb392b04e0bd3aec 100644 (file)
@@ -83,14 +83,12 @@ public class TestXSSFCloneSheet  extends BaseTestCloneSheet {
         assertNotNull(wbBack);
         wbBack.close();
 
-        // FIXME: why are we doing both writeOutAndReadBack and write? Was the temp file created for manual debugging?
-        File tmp = TempFile.createTempFile("60512.xlsx", ".tmp");
-        OutputStream ostream = new FileOutputStream(tmp);
+        /*OutputStream str = new FileOutputStream("/tmp/60512.xlsx");
         try {
             wb.write(ostream);
         } finally {
-            ostream.close();
-        }
+            str.close();
+        }*/
 
         wb.close();
     }