pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1674420 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFontType0.java
Date Sat, 18 Apr 2015 00:00:42 GMT
Author: tilman
Date: Sat Apr 18 00:00:41 2015
New Revision: 1674420

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

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFontType0.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFontType0.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFontType0.java?rev=1674420&r1=1674419&r2=1674420&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFontType0.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFontType0.java Sat
Apr 18 00:00:41 2015
@@ -55,7 +55,7 @@ public class PDCIDFontType0 extends PDCI
 
     private Float avgWidth = null;
     private Matrix fontMatrix;
-    private AffineTransform fontMatrixTransform;
+    private final AffineTransform fontMatrixTransform;
 
     /**
      * Constructor.
@@ -246,6 +246,7 @@ public class PDCIDFontType0 extends PDCI
      * @param code character code
      * @return CID
      */
+    @Override
     public int codeToCID(int code)
     {
         return parent.getCMap().toCID(code);



Mime
View raw message