pdfbox-commits mailing list archives

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

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

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

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/optionalcontent/PDOptionalContentProperties.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/optionalcontent/PDOptionalContentProperties.java?rev=1818983&r1=1818982&r2=1818983&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/optionalcontent/PDOptionalContentProperties.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/optionalcontent/PDOptionalContentProperties.java
Thu Dec 21 21:38:42 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