pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1861400 - /pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/reflect/ExtGStateValidationProcess.java
Date Sat, 15 Jun 2019 14:39:39 GMT
Author: tilman
Date: Sat Jun 15 14:39:39 2019
New Revision: 1861400

URL: http://svn.apache.org/viewvc?rev=1861400&view=rev
Log:
PDFBOX-4071: SonarQube fix

Modified:
    pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/reflect/ExtGStateValidationProcess.java

Modified: pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/reflect/ExtGStateValidationProcess.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/reflect/ExtGStateValidationProcess.java?rev=1861400&r1=1861399&r2=1861400&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/reflect/ExtGStateValidationProcess.java
(original)
+++ pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/reflect/ExtGStateValidationProcess.java
Sat Jun 15 14:39:39 2019
@@ -80,7 +80,7 @@ public class ExtGStateValidationProcess
         else
         {
             COSDictionary extGStatesDict = (COSDictionary) vPath.peek();
-            List<COSDictionary> listOfExtGState = extractExtGStateDictionaries(context,
extGStatesDict);
+            List<COSDictionary> listOfExtGState = extractExtGStateDictionaries(extGStatesDict);
             validateTransparencyRules(context, listOfExtGState);
             validateFonts(context, listOfExtGState);
         }
@@ -89,12 +89,11 @@ public class ExtGStateValidationProcess
     /**
      * Create a list of ExtGState dictionaries using the given Resource dictionary and the
COSDocument.
      * 
-     * @param context the context which contains the Resource dictionary.
      * @param extGStates a resource COSDictionary.
      * @return the list of ExtGState dictionaries.
      * @throws ValidationException thrown if an Extended Graphic State isn't valid.
      */
-    public List<COSDictionary> extractExtGStateDictionaries(PreflightContext context,
+    public List<COSDictionary> extractExtGStateDictionaries(
             COSDictionary extGStates)
             throws ValidationException
     {



Mime
View raw message