pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1648163 - in /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading: AxialShadingPaint.java RadialShadingPaint.java
Date Sun, 28 Dec 2014 09:42:02 GMT
Author: tilman
Date: Sun Dec 28 09:42:02 2014
New Revision: 1648163

URL: http://svn.apache.org/r1648163
Log:
PDFBOX-2576: fields can be final

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/AxialShadingPaint.java
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/RadialShadingPaint.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/AxialShadingPaint.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/AxialShadingPaint.java?rev=1648163&r1=1648162&r2=1648163&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/AxialShadingPaint.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/AxialShadingPaint.java
Sun Dec 28 09:42:02 2014
@@ -32,14 +32,14 @@ import org.apache.pdfbox.util.Matrix;
 /**
  * AWT Paint for axial shading.
  *
- * @author Andreas Lehmkühler
+ * @author Andreas Lehmkühler
  */
 public class AxialShadingPaint implements Paint
 {
     private static final Log LOG = LogFactory.getLog(AxialShadingPaint.class);
 
-    private PDShadingType2 shading;
-    private Matrix ctm;
+    private final PDShadingType2 shading;
+    private final Matrix ctm;
 
     /**
      * Constructor.

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/RadialShadingPaint.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/RadialShadingPaint.java?rev=1648163&r1=1648162&r2=1648163&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/RadialShadingPaint.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/shading/RadialShadingPaint.java
Sun Dec 28 09:42:02 2014
@@ -32,14 +32,14 @@ import org.apache.pdfbox.util.Matrix;
 /**
  * AWT Paint for radial shading.
  *
- * @author Andreas Lehmkühler
+ * @author Andreas Lehmkühler
  */
 public class RadialShadingPaint implements Paint
 {
     private static final Log LOG = LogFactory.getLog(RadialShadingPaint.class);
 
-    private PDShadingType3 shading;
-    private Matrix ctm;
+    private final PDShadingType3 shading;
+    private final Matrix ctm;
 
     /**
      * Constructor.



Mime
View raw message