diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2021-01-10 21:16:04 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2021-01-10 21:16:04 +0000 |
commit | 1041a876cb2bbd6f6349986645018160be0ba6e2 (patch) | |
tree | e4c612432f58ba583a028ae1cca40d3a630e860b /src/integrationtest/org/apache/poi/stress/HSMFFileHandler.java | |
parent | cc7cd1caf32e631fc89d8cbd6570f9f57fbed826 (diff) | |
download | poi-1041a876cb2bbd6f6349986645018160be0ba6e2.tar.gz poi-1041a876cb2bbd6f6349986645018160be0ba6e2.zip |
Sonar fixes
JUnit5 test classes and methods should have default package visibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885340 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/integrationtest/org/apache/poi/stress/HSMFFileHandler.java')
-rw-r--r-- | src/integrationtest/org/apache/poi/stress/HSMFFileHandler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/integrationtest/org/apache/poi/stress/HSMFFileHandler.java b/src/integrationtest/org/apache/poi/stress/HSMFFileHandler.java index 9fa3160cda..8a21781bc4 100644 --- a/src/integrationtest/org/apache/poi/stress/HSMFFileHandler.java +++ b/src/integrationtest/org/apache/poi/stress/HSMFFileHandler.java @@ -27,7 +27,7 @@ import org.apache.poi.hsmf.datatypes.AttachmentChunks; import org.apache.poi.hsmf.datatypes.DirectoryChunk; import org.junit.jupiter.api.Test; -public class HSMFFileHandler extends POIFSFileHandler { +class HSMFFileHandler extends POIFSFileHandler { @Override public void handleFile(InputStream stream, String path) throws Exception { MAPIMessage mapi = new MAPIMessage(stream); @@ -77,7 +77,7 @@ public class HSMFFileHandler 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/hsmf/logsat.com_signatures_valid.msg"); try (InputStream stream = new FileInputStream(file)) { handleFile(stream, file.getPath()); |