Skip to content

Commit 98ce390

Browse files
committed
PDFBOX-6125: Sonar fix
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1930686 13f79535-47bb-0310-9956-ffa450edef68
1 parent b6c88b8 commit 98ce390

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

xmpbox/src/test/java/org/apache/xmpbox/xml/DomXmpParserTest.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -824,10 +824,9 @@ void testBadAttr3() throws XmpParsingException, TransformerException
824824
*
825825
* @throws XmpParsingException
826826
* @throws TransformerException
827-
* @throws BadFieldValueException
828827
*/
829828
@Test
830-
void testBadAttr4() throws XmpParsingException, TransformerException, BadFieldValueException
829+
void testBadAttr4() throws XmpParsingException, TransformerException
831830
{
832831
String s = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n" +
833832
"<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d' bytes='1206'?><rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" >\n" +
@@ -1028,10 +1027,9 @@ void testNonStandardURIinRDF() throws XmpParsingException, TransformerException
10281027
*
10291028
* @throws XmpParsingException
10301029
* @throws TransformerException
1031-
* @throws BadFieldValueException
10321030
*/
10331031
@Test
1034-
void testBadProp() throws XmpParsingException, TransformerException, BadFieldValueException
1032+
void testBadProp() throws XmpParsingException, TransformerException
10351033
{
10361034
String s = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n" +
10371035
"<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d' bytes='1506'?><rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\" xmlns:iX=\"http://ns.adobe.com/iX/1.0/\">\n" +

0 commit comments

Comments
 (0)