pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject svn commit: r1861526 - /pdfbox/branches/issue4569/pdfbox/src/main/java/org/apache/pdfbox/cos/COSObject.java
Date Mon, 17 Jun 2019 16:31:13 GMT
Author: lehmi
Date: Mon Jun 17 16:31:13 2019
New Revision: 1861526

URL: http://svn.apache.org/viewvc?rev=1861526&view=rev
Log:
PDFBOX-4569: minor changes

Modified:
    pdfbox/branches/issue4569/pdfbox/src/main/java/org/apache/pdfbox/cos/COSObject.java

Modified: pdfbox/branches/issue4569/pdfbox/src/main/java/org/apache/pdfbox/cos/COSObject.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/issue4569/pdfbox/src/main/java/org/apache/pdfbox/cos/COSObject.java?rev=1861526&r1=1861525&r2=1861526&view=diff
==============================================================================
--- pdfbox/branches/issue4569/pdfbox/src/main/java/org/apache/pdfbox/cos/COSObject.java (original)
+++ pdfbox/branches/issue4569/pdfbox/src/main/java/org/apache/pdfbox/cos/COSObject.java Mon
Jun 17 16:31:13 2019
@@ -40,8 +40,7 @@ public class COSObject extends COSBase i
      */
     public COSObject(COSBase object)
     {
-        setObject(object);
-        parser = null;
+        this(object, null);
     }
 
     /**
@@ -52,7 +51,6 @@ public class COSObject extends COSBase i
      *
      */
     public COSObject(COSBase object, ICOSParser parser)
-    // public COSObject(COSBase object)
     {
         setObject( object );
         this.parser = parser;



Mime
View raw message