Author: tilman
Date: Sun Jun 14 18:57:59 2026
New Revision: 1935317
Log:
PDFBOX-5660: Sonar fix
Modified:
pdfbox/branches/3.0/xmpbox/src/test/java/org/apache/xmpbox/parser/DeserializationTest.java
Modified:
pdfbox/branches/3.0/xmpbox/src/test/java/org/apache/xmpbox/parser/DeserializationTest.java
==============================================================================
---
pdfbox/branches/3.0/xmpbox/src/test/java/org/apache/xmpbox/parser/DeserializationTest.java
Sun Jun 14 17:46:45 2026 (r1935316)
+++
pdfbox/branches/3.0/xmpbox/src/test/java/org/apache/xmpbox/parser/DeserializationTest.java
Sun Jun 14 18:57:59 2026 (r1935317)
@@ -220,7 +220,7 @@ class DeserializationTest
}
@Test
- void testWithNoXPacketEnd() throws XmpParsingException, IOException
+ void testWithNoXPacketEnd() throws IOException
{
try (InputStream is =
DomXmpParser.class.getResourceAsStream("/invalidxmp/noxpacketend.xml"))
{
@@ -230,7 +230,7 @@ class DeserializationTest
}
@Test
- void testWithNoRDFElement() throws XmpParsingException, IOException
+ void testWithNoRDFElement() throws IOException
{
try (InputStream is =
DomXmpParser.class.getResourceAsStream("/invalidxmp/noroot.xml"))
{
@@ -240,7 +240,7 @@ class DeserializationTest
}
@Test
- void testWithTwoRDFElement() throws XmpParsingException, IOException
+ void testWithTwoRDFElement() throws IOException
{
try (InputStream is =
DomXmpParser.class.getResourceAsStream("/invalidxmp/tworoot.xml"))
{