poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cen...@apache.org
Subject svn commit: r1783428 - /poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/TestXSSFCloneSheet.java
Date Fri, 17 Feb 2017 17:15:28 GMT
Author: centic
Date: Fri Feb 17 17:15:27 2017
New Revision: 1783428

URL: http://svn.apache.org/viewvc?rev=1783428&view=rev
Log:
bug 60742: Remove local test-code from test for bug 60512

Modified:
    poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/TestXSSFCloneSheet.java

Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/TestXSSFCloneSheet.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/TestXSSFCloneSheet.java?rev=1783428&r1=1783427&r2=1783428&view=diff
==============================================================================
--- poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/TestXSSFCloneSheet.java (original)
+++ poi/trunk/src/ooxml/testcases/org/apache/poi/xssf/TestXSSFCloneSheet.java Fri Feb 17 17:15:27
2017
@@ -83,14 +83,12 @@ public class TestXSSFCloneSheet  extends
         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();
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message