pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1818984 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/optionalcontent/PDOptionalContentProperties.java
Date Thu, 21 Dec 2017 21:38:47 GMT
Author: tilman
Date: Thu Dec 21 21:38:47 2017
New Revision: 1818984

URL: http://svn.apache.org/viewvc?rev=1818984&view=rev
Log:
PDFBOX-4044: sonar fix

Modified:
    pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/optionalcontent/PDOptionalContentProperties.java

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/optionalcontent/PDOptionalContentProperties.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/optionalcontent/PDOptionalContentProperties.java?rev=1818984&r1=1818983&r2=1818984&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/optionalcontent/PDOptionalContentProperties.java
(original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/optionalcontent/PDOptionalContentProperties.java
Thu Dec 21 21:38:47 2017
@@ -317,7 +317,8 @@ public class PDOptionalContentProperties
      */
     public boolean setGroupEnabled(String groupName, boolean enable)
     {
-        COSArray on, off;
+        COSArray on;
+        COSArray off;
 
         COSDictionary d = getD();
         COSBase base = d.getDictionaryObject(COSName.ON);



Mime
View raw message