pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject svn commit: r1861058 - /pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/reflect/SinglePageValidationProcess.java
Date Tue, 11 Jun 2019 17:39:41 GMT
Author: lehmi
Date: Tue Jun 11 17:39:41 2019
New Revision: 1861058

URL: http://svn.apache.org/viewvc?rev=1861058&view=rev
Log:
PDFBOX-4566: fix compare value

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

Modified: pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/reflect/SinglePageValidationProcess.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/reflect/SinglePageValidationProcess.java?rev=1861058&r1=1861057&r2=1861058&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/reflect/SinglePageValidationProcess.java
(original)
+++ pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/process/reflect/SinglePageValidationProcess.java
Tue Jun 11 17:39:41 2019
@@ -235,7 +235,7 @@ public class SinglePageValidationProcess
         if (groupDictionary != null)
         {
             COSName sVal = groupDictionary.getCOSName(COSName.S);
-            if (COSName.S.equals(sVal))
+            if (COSName.TRANSPARENCY.equals(sVal))
             {
                 context.addValidationError(new ValidationError(ERROR_GRAPHIC_TRANSPARENCY_GROUP,
                         "Group has a transparency S entry or the S entry is null"));



Mime
View raw message