You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2025/04/12 14:50:45 UTC

svn commit: r1925049 - /pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/common/function/type4/TestParser.java

Author: tilman
Date: Sat Apr 12 14:50:44 2025
New Revision: 1925049

URL: http://svn.apache.org/viewvc?rev=1925049&view=rev
Log:
PDFBOX-5660: Sonar fix

Modified:
    pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/common/function/type4/TestParser.java

Modified: pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/common/function/type4/TestParser.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/common/function/type4/TestParser.java?rev=1925049&r1=1925048&r2=1925049&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/common/function/type4/TestParser.java (original)
+++ pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/common/function/type4/TestParser.java Sat Apr 12 14:50:44 2025
@@ -33,6 +33,7 @@ class TestParser
     /**
      * Test the very basics.
      */
+    @SuppressWarnings("squid:S2699") // Assertion done in Type4Tester
     @Test
     void testParserBasics()
     {
@@ -43,6 +44,7 @@ class TestParser
      * Test nested blocks.
      * @throws Exception if an error occurs
      */
+    @SuppressWarnings("squid:S2699") // Assertion done in Type4Tester
     @Test
     void testNested()
     {
@@ -71,6 +73,7 @@ class TestParser
     /**
      * Tests problematic functions from PDFBOX-804.
      */
+    @SuppressWarnings("squid:S2699") // Assertion done in Type4Tester
     @Test
     void testJira804()
     {