You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2016/02/23 19:26:32 UTC

svn commit: r1731921 - /pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/cos/COSDocument.java

Author: tilman
Date: Tue Feb 23 18:26:32 2016
New Revision: 1731921

URL: http://svn.apache.org/viewvc?rev=1731921&view=rev
Log:
PDFBOX-3241: oops

Modified:
    pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/cos/COSDocument.java

Modified: pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/cos/COSDocument.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/cos/COSDocument.java?rev=1731921&r1=1731920&r2=1731921&view=diff
==============================================================================
--- pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/cos/COSDocument.java (original)
+++ pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/cos/COSDocument.java Tue Feb 23 18:26:32 2016
@@ -668,7 +668,7 @@ public class COSDocument extends COSBase
     public void setHeaderString(String header)
     {
         headerString = header;
-        if (originalHeaderString != null)
+        if (originalHeaderString == null)
         {
             originalHeaderString = header;
         }