pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1670987 - in /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics: form/PDGroup.java state/PDSoftMask.java
Date Thu, 02 Apr 2015 21:50:07 GMT
Author: tilman
Date: Thu Apr  2 21:50:07 2015
New Revision: 1670987

URL: http://svn.apache.org/r1670987
Log:
PDFBOX-2576: make fields final

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/form/PDGroup.java
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/state/PDSoftMask.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/form/PDGroup.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/form/PDGroup.java?rev=1670987&r1=1670986&r2=1670987&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/form/PDGroup.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/form/PDGroup.java
Thu Apr  2 21:50:07 2015
@@ -31,7 +31,7 @@ import org.apache.pdfbox.pdmodel.graphic
  */
 public final class PDGroup implements COSObjectable
 {
-    private COSDictionary dictionary;
+    private final COSDictionary dictionary;
     private COSName subType;
     private PDColorSpace colorSpace;
 
@@ -44,6 +44,7 @@ public final class PDGroup implements CO
         dictionary = dic;
     }
 
+    @Override
     public COSBase getCOSObject()
     {
         return dictionary;

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/state/PDSoftMask.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/state/PDSoftMask.java?rev=1670987&r1=1670986&r2=1670987&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/state/PDSoftMask.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/state/PDSoftMask.java
Thu Apr  2 21:50:07 2015
@@ -68,7 +68,7 @@ public final class PDSoftMask implements
 
     private static final Log LOG = LogFactory.getLog(PDSoftMask.class);
 
-    private COSDictionary dictionary;
+    private final COSDictionary dictionary;
     private COSName subType = null;
     private PDFormXObject group = null;
     private COSArray backdropColor = null;
@@ -83,6 +83,7 @@ public final class PDSoftMask implements
         this.dictionary = dictionary;
     }
 
+    @Override
     public COSBase getCOSObject()
     {
         return dictionary;



Mime
View raw message