pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1825601 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFont.java
Date Wed, 28 Feb 2018 20:39:32 GMT
Author: tilman
Date: Wed Feb 28 20:39:31 2018
New Revision: 1825601

URL: http://svn.apache.org/viewvc?rev=1825601&view=rev
Log:
PDFBOX-4071: make field final

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

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFont.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFont.java?rev=1825601&r1=1825600&r2=1825601&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFont.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/font/PDCIDFont.java Wed Feb
28 20:39:31 2018
@@ -51,7 +51,7 @@ public abstract class PDCIDFont implemen
 
     private final Map<Integer, Float> verticalDisplacementY = new HashMap<>();
// w1y
     private final Map<Integer, Vector> positionVectors = new HashMap<>();   
 // v
-    private float[] dw2 = new float[] { 880, -1000 };
+    private final float[] dw2 = new float[] { 880, -1000 };
 
     protected final COSDictionary dict;
     private PDFontDescriptor fontDescriptor;



Mime
View raw message