From 1041a876cb2bbd6f6349986645018160be0ba6e2 Mon Sep 17 00:00:00 2001 From: Andreas Beeker Date: Sun, 10 Jan 2021 21:16:04 +0000 Subject: 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 --- src/integrationtest/org/apache/poi/stress/HSMFFileHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/integrationtest/org/apache/poi/stress/HSMFFileHandler.java') 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()); -- cgit v1.2.3