diff options
Diffstat (limited to 'src/integrationtest/org/apache/poi/stress/HPBFFileHandler.java')
-rw-r--r-- | src/integrationtest/org/apache/poi/stress/HPBFFileHandler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/integrationtest/org/apache/poi/stress/HPBFFileHandler.java b/src/integrationtest/org/apache/poi/stress/HPBFFileHandler.java index a1152d58d4..419840d696 100644 --- a/src/integrationtest/org/apache/poi/stress/HPBFFileHandler.java +++ b/src/integrationtest/org/apache/poi/stress/HPBFFileHandler.java @@ -27,7 +27,7 @@ import org.apache.poi.hpbf.extractor.PublisherTextExtractor; import org.apache.poi.poifs.filesystem.POIFSFileSystem; import org.junit.jupiter.api.Test; -public class HPBFFileHandler extends POIFSFileHandler { +class HPBFFileHandler extends POIFSFileHandler { @Override public void handleFile(InputStream stream, String path) throws Exception { HPBFDocument pub = new HPBFDocument(new POIFSFileSystem(stream)); @@ -42,7 +42,7 @@ public class HPBFFileHandler extends POIFSFileHandler { // a test-case to test this locally without executing the full TestAllFiles @Override @Test - public void test() throws Exception { + void test() throws Exception { File file = new File("test-data/publisher/SampleBrochure.pub"); InputStream stream = new FileInputStream(file); |