diff options
author | Nick Burch <nick@apache.org> | 2015-09-01 21:46:30 +0000 |
---|---|---|
committer | Nick Burch <nick@apache.org> | 2015-09-01 21:46:30 +0000 |
commit | 82bbbed2b504dc965fcdd7fabe0eb24f0a9edd50 (patch) | |
tree | 42cdaf437679043fe830cfc8fee69a32dc6bdfab /src/testcases/org/apache/poi/hssf/dev/TestBiffViewer.java | |
parent | a49d4bdd0729467b700f5eccfd353149ad347440 (diff) | |
download | poi-82bbbed2b504dc965fcdd7fabe0eb24f0a9edd50.tar.gz poi-82bbbed2b504dc965fcdd7fabe0eb24f0a9edd50.zip |
Fix some Forbidden APIs errors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1700677 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/hssf/dev/TestBiffViewer.java')
-rw-r--r-- | src/testcases/org/apache/poi/hssf/dev/TestBiffViewer.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/testcases/org/apache/poi/hssf/dev/TestBiffViewer.java b/src/testcases/org/apache/poi/hssf/dev/TestBiffViewer.java index 776e278526..c96aec4f7f 100644 --- a/src/testcases/org/apache/poi/hssf/dev/TestBiffViewer.java +++ b/src/testcases/org/apache/poi/hssf/dev/TestBiffViewer.java @@ -19,12 +19,9 @@ package org.apache.poi.hssf.dev; import java.io.File; import java.io.IOException; import java.io.InputStream; -import java.io.PrintStream; +import java.io.PrintWriter; -import org.apache.poi.POIDataSamples; import org.apache.poi.poifs.filesystem.NPOIFSFileSystem; -import org.junit.Ignore; -import org.junit.Test; public class TestBiffViewer extends BaseXLSIteratingTest { static { @@ -52,7 +49,7 @@ public class TestBiffViewer extends BaseXLSIteratingTest { InputStream is = BiffViewer.getPOIFSInputStream(fs); try { // use a NullOutputStream to not write the bytes anywhere for best runtime - BiffViewer.runBiffViewer(new PrintStream(NULL_OUTPUT_STREAM), is, true, true, true, false); + BiffViewer.runBiffViewer(new PrintWriter(NULL_OUTPUT_STREAM), is, true, true, true, false); } finally { is.close(); fs.close(); |