Skip to content

Commit ab9a86d

Browse files
committed
PDFBOX-5660: Sonar fix
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1924843 13f79535-47bb-0310-9956-ffa450edef68
1 parent 8aea07b commit ab9a86d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pdfbox/src/test/java/org/apache/pdfbox/pdmodel/common/TestPDNameTreeNode.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
import static org.junit.jupiter.api.Assertions.assertEquals;
2020

21-
import java.io.IOException;
2221
import java.util.List;
2322
import java.util.Map;
2423
import java.util.TreeMap;
@@ -40,7 +39,7 @@ class TestPDNameTreeNode
4039
private PDNameTreeNode<COSInteger> node24;
4140

4241
@BeforeEach
43-
void setUp() throws Exception
42+
void setUp()
4443
{
4544
this.node5 = new PDIntegerNameTreeNode();
4645
Map<String, COSInteger> names = new TreeMap<>();
@@ -92,7 +91,7 @@ void setUp() throws Exception
9291
}
9392

9493
@Test
95-
void testUpperLimit() throws IOException
94+
void testUpperLimit()
9695
{
9796
assertEquals("Astatine", this.node5.getUpperLimit());
9897
assertEquals("Astatine", this.node2.getUpperLimit());
@@ -104,7 +103,7 @@ void testUpperLimit() throws IOException
104103
}
105104

106105
@Test
107-
void testLowerLimit() throws IOException
106+
void testLowerLimit()
108107
{
109108
assertEquals("Actinium", this.node5.getLowerLimit());
110109
assertEquals("Actinium", this.node2.getLowerLimit());

0 commit comments

Comments
 (0)