From a4ed4359cce220abe549f870df84b0cd4895b881 Mon Sep 17 00:00:00 2001 From: Andreas Beeker Date: Sat, 9 Jan 2021 18:24:51 +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@1885308 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/ss/util/TestPropertyTemplate.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/testcases/org/apache/poi/ss/util/TestPropertyTemplate.java') diff --git a/src/testcases/org/apache/poi/ss/util/TestPropertyTemplate.java b/src/testcases/org/apache/poi/ss/util/TestPropertyTemplate.java index b53e92dd9c..603bbb0d59 100644 --- a/src/testcases/org/apache/poi/ss/util/TestPropertyTemplate.java +++ b/src/testcases/org/apache/poi/ss/util/TestPropertyTemplate.java @@ -40,7 +40,7 @@ import org.junit.jupiter.api.Test; */ public final class TestPropertyTemplate { @Test - public void getNumBorders() throws IOException { + void getNumBorders() throws IOException { CellRangeAddress a1 = new CellRangeAddress(0, 0, 0, 0); PropertyTemplate pt = new PropertyTemplate(); pt.drawBorders(a1, BorderStyle.THIN, BorderExtent.TOP); @@ -52,7 +52,7 @@ public final class TestPropertyTemplate { } @Test - public void getNumBorderColors() throws IOException { + void getNumBorderColors() throws IOException { CellRangeAddress a1 = new CellRangeAddress(0, 0, 0, 0); PropertyTemplate pt = new PropertyTemplate(); pt.drawBorderColors(a1, IndexedColors.RED.getIndex(), BorderExtent.TOP); @@ -64,7 +64,7 @@ public final class TestPropertyTemplate { } @Test - public void getTemplateProperties() throws IOException { + void getTemplateProperties() throws IOException { CellRangeAddress a1 = new CellRangeAddress(0, 0, 0, 0); PropertyTemplate pt = new PropertyTemplate(); pt.drawBorders(a1, BorderStyle.THIN, BorderExtent.TOP); @@ -82,7 +82,7 @@ public final class TestPropertyTemplate { } @Test - public void drawBorders() throws IOException { + void drawBorders() throws IOException { CellRangeAddress a1c3 = new CellRangeAddress(0, 2, 0, 2); PropertyTemplate pt = new PropertyTemplate(); pt.drawBorders(a1c3, BorderStyle.THIN, @@ -409,7 +409,7 @@ public final class TestPropertyTemplate { } @Test - public void drawBorderColors() throws IOException { + void drawBorderColors() throws IOException { CellRangeAddress a1c3 = new CellRangeAddress(0, 2, 0, 2); PropertyTemplate pt = new PropertyTemplate(); pt.drawBorderColors(a1c3, IndexedColors.RED.getIndex(), @@ -801,7 +801,7 @@ public final class TestPropertyTemplate { } @Test - public void drawBordersWithColors() throws IOException { + void drawBordersWithColors() throws IOException { CellRangeAddress a1c3 = new CellRangeAddress(0, 2, 0, 2); PropertyTemplate pt = new PropertyTemplate(); @@ -849,7 +849,7 @@ public final class TestPropertyTemplate { } @Test - public void applyBorders() throws IOException { + void applyBorders() throws IOException { CellRangeAddress a1c3 = new CellRangeAddress(0, 2, 0, 2); CellRangeAddress b2 = new CellRangeAddress(1, 1, 1, 1); PropertyTemplate pt = new PropertyTemplate(); @@ -910,7 +910,7 @@ public final class TestPropertyTemplate { } @Test - public void clonePropertyTemplate() throws IOException { + void clonePropertyTemplate() throws IOException { CellRangeAddress a1c3 = new CellRangeAddress(0, 2, 0, 2); PropertyTemplate pt = new PropertyTemplate(); pt.drawBorders(a1c3, BorderStyle.MEDIUM, IndexedColors.RED.getIndex(), BorderExtent.ALL); -- cgit v1.2.3