pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1670977 - in /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox: pdfparser/PDFXrefStreamParser.java pdfwriter/ContentStreamWriter.java
Date Thu, 02 Apr 2015 21:28:10 GMT
Author: tilman
Date: Thu Apr  2 21:28:10 2015
New Revision: 1670977

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

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFXrefStreamParser.java
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/ContentStreamWriter.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFXrefStreamParser.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFXrefStreamParser.java?rev=1670977&r1=1670976&r2=1670977&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFXrefStreamParser.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFXrefStreamParser.java
Thu Apr  2 21:28:10 2015
@@ -37,8 +37,8 @@ import org.apache.pdfbox.cos.COSObjectKe
  */
 public class PDFXrefStreamParser extends BaseParser
 {
-    private COSStream stream;
-    private XrefTrailerResolver xrefTrailerResolver;
+    private final COSStream stream;
+    private final XrefTrailerResolver xrefTrailerResolver;
 
     /**
      * Constructor.

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/ContentStreamWriter.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/ContentStreamWriter.java?rev=1670977&r1=1670976&r2=1670977&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/ContentStreamWriter.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/ContentStreamWriter.java
Thu Apr  2 21:28:10 2015
@@ -40,7 +40,7 @@ import org.apache.pdfbox.contentstream.o
  */
 public class ContentStreamWriter
 {
-    private OutputStream output;
+    private final OutputStream output;
     /**
      * space character.
      */



Mime
View raw message