diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2021-01-09 18:24:51 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2021-01-09 18:24:51 +0000 |
commit | a4ed4359cce220abe549f870df84b0cd4895b881 (patch) | |
tree | e2d349b2aba0486b74f23ec7b02e60a40be418e6 /src/testcases/org/apache/poi/ss/usermodel/BaseTestCellComment.java | |
parent | 1d676a098d667f7132f7d62cd76f3f33fb1b17fe (diff) | |
download | poi-a4ed4359cce220abe549f870df84b0cd4895b881.tar.gz poi-a4ed4359cce220abe549f870df84b0cd4895b881.zip |
Sonar fixes
JUnit5 test classes and methods should have default package visibility
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885308 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/ss/usermodel/BaseTestCellComment.java')
-rw-r--r-- | src/testcases/org/apache/poi/ss/usermodel/BaseTestCellComment.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/testcases/org/apache/poi/ss/usermodel/BaseTestCellComment.java b/src/testcases/org/apache/poi/ss/usermodel/BaseTestCellComment.java index c2cca1244f..25bd602c51 100644 --- a/src/testcases/org/apache/poi/ss/usermodel/BaseTestCellComment.java +++ b/src/testcases/org/apache/poi/ss/usermodel/BaseTestCellComment.java @@ -251,7 +251,7 @@ public abstract class BaseTestCellComment { * code from the quick guide */ @Test - public void quickGuide() throws IOException { + void quickGuide() throws IOException { Workbook wb1 = _testDataProvider.createWorkbook(); CreationHelper factory = wb1.getCreationHelper(); @@ -286,7 +286,7 @@ public abstract class BaseTestCellComment { } @Test - public void getClientAnchor() throws IOException { + void getClientAnchor() throws IOException { Workbook wb = _testDataProvider.createWorkbook(); Sheet sheet = wb.createSheet(); @@ -361,7 +361,7 @@ public abstract class BaseTestCellComment { } @Test - public void attemptToSave2CommentsWithSameCoordinates() throws IOException { + void attemptToSave2CommentsWithSameCoordinates() throws IOException { try (Workbook wb = _testDataProvider.createWorkbook()) { Sheet sh = wb.createSheet(); CreationHelper factory = wb.getCreationHelper(); @@ -386,7 +386,7 @@ public abstract class BaseTestCellComment { } @Test - public void getAddress() { + void getAddress() { Workbook wb = _testDataProvider.createWorkbook(); Sheet sh = wb.createSheet(); CreationHelper factory = wb.getCreationHelper(); @@ -400,7 +400,7 @@ public abstract class BaseTestCellComment { } @Test - public void setAddress() { + void setAddress() { Workbook wb = _testDataProvider.createWorkbook(); Sheet sh = wb.createSheet(); CreationHelper factory = wb.getCreationHelper(); |