aboutsummaryrefslogtreecommitdiffstats
path: root/src/integrationtest/org/apache/poi/stress/XSSFFileHandler.java
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2021-01-10 21:16:04 +0000
committerAndreas Beeker <kiwiwings@apache.org>2021-01-10 21:16:04 +0000
commit1041a876cb2bbd6f6349986645018160be0ba6e2 (patch)
treee4c612432f58ba583a028ae1cca40d3a630e860b /src/integrationtest/org/apache/poi/stress/XSSFFileHandler.java
parentcc7cd1caf32e631fc89d8cbd6570f9f57fbed826 (diff)
downloadpoi-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/XSSFFileHandler.java')
-rw-r--r--src/integrationtest/org/apache/poi/stress/XSSFFileHandler.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/integrationtest/org/apache/poi/stress/XSSFFileHandler.java b/src/integrationtest/org/apache/poi/stress/XSSFFileHandler.java
index ec060dee05..68f07b55be 100644
--- a/src/integrationtest/org/apache/poi/stress/XSSFFileHandler.java
+++ b/src/integrationtest/org/apache/poi/stress/XSSFFileHandler.java
@@ -57,7 +57,7 @@ import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import org.junit.jupiter.api.Test;
import org.xml.sax.SAXException;
-public class XSSFFileHandler extends SpreadsheetHandler {
+class XSSFFileHandler extends SpreadsheetHandler {
@Override
public void handleFile(InputStream stream, String path) throws Exception {
// ignore password protected files if password is unknown
@@ -205,7 +205,7 @@ public class XSSFFileHandler extends SpreadsheetHandler {
// a test-case to test this locally without executing the full TestAllFiles
@Test
- public void test() throws Exception {
+ void test() throws Exception {
File file = new File("test-data/spreadsheet/ref-56737.xlsx");
try (InputStream stream = new BufferedInputStream(new FileInputStream(file))) {
@@ -216,7 +216,7 @@ public class XSSFFileHandler extends SpreadsheetHandler {
}
@Test
- public void testAdditional() throws Exception {
+ void testAdditional() throws Exception {
handleAdditional(new File("test-data/spreadsheet/poc-xmlbomb.xlsx"));
}
}