Skip to content

Commit 4fb7eaf

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

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

xmpbox/src/test/java/org/apache/xmpbox/parser/DeserializationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ void testWithNoXPacketEnd() throws IOException
229229
}
230230

231231
@Test
232-
void testWithNoRDFElement() throws XmpParsingException, IOException
232+
void testWithNoRDFElement() throws IOException
233233
{
234234
try (InputStream is = DomXmpParser.class.getResourceAsStream("/invalidxmp/noroot.xml"))
235235
{
@@ -239,7 +239,7 @@ void testWithNoRDFElement() throws XmpParsingException, IOException
239239
}
240240

241241
@Test
242-
void testWithTwoRDFElement() throws XmpParsingException, IOException
242+
void testWithTwoRDFElement() throws IOException
243243
{
244244
try (InputStream is = DomXmpParser.class.getResourceAsStream("/invalidxmp/tworoot.xml"))
245245
{

0 commit comments

Comments
 (0)