pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msahy...@apache.org
Subject svn commit: r1827130 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/COSParser.java
Date Sun, 18 Mar 2018 07:31:28 GMT
Author: msahyoun
Date: Sun Mar 18 07:31:28 2018
New Revision: 1827130

URL: http://svn.apache.org/viewvc?rev=1827130&view=rev
Log:
PDFBOX-4071: remove not needed intial assignment

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/COSParser.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/COSParser.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/COSParser.java?rev=1827130&r1=1827129&r2=1827130&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/COSParser.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/COSParser.java Sun Mar 18
07:31:28 2018
@@ -1555,8 +1555,8 @@ public class COSParser extends BaseParse
     private long bfSearchForXRef(long xrefOffset) throws IOException
     {
         long newOffset = -1;
-        long newOffsetTable = -1;
-        long newOffsetStream = -1;
+        long newOffsetTable;
+        long newOffsetStream;
 
         // initialize bfSearchXRefTablesOffsets -> not null
         bfSearchForXRefTables();



Mime
View raw message