pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1865711 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/XrefTrailerResolver.java
Date Thu, 22 Aug 2019 19:01:23 GMT
Author: tilman
Date: Thu Aug 22 19:01:23 2019
New Revision: 1865711

URL: http://svn.apache.org/viewvc?rev=1865711&view=rev
Log:
PDFBOX-4071: SonarQube fix

Modified:
    pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/XrefTrailerResolver.java

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/XrefTrailerResolver.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/XrefTrailerResolver.java?rev=1865711&r1=1865710&r2=1865711&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/XrefTrailerResolver.java
(original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/XrefTrailerResolver.java
Thu Aug 22 19:01:23 2019
@@ -152,7 +152,8 @@ public class XrefTrailerResolver
      */
     public void nextXrefObj( final long startBytePos, XRefType type )
     {
-        bytePosToXrefMap.put( startBytePos, curXrefTrailerObj = new XrefTrailerObj() );
+        curXrefTrailerObj = new XrefTrailerObj();
+        bytePosToXrefMap.put(startBytePos, curXrefTrailerObj);
         curXrefTrailerObj.xrefType = type;
     }
 



Mime
View raw message