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 2021/06/19 15:28:17 UTC

svn commit: r1890910 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSStream.java

Author: tilman
Date: Sat Jun 19 15:28:16 2021
New Revision: 1890910

URL: http://svn.apache.org/viewvc?rev=1890910&view=rev
Log:
PDFBOX-4892: fix message, as suggested by valerybokov

Modified:
    pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSStream.java

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSStream.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSStream.java?rev=1890910&r1=1890909&r2=1890910&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSStream.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSStream.java Sat Jun 19 15:28:16 2021
@@ -334,8 +334,8 @@ public class COSStream extends COSDictio
     {
         if (isWriting)
         {
-            throw new IllegalStateException("There is an open OutputStream associated with " +
-                                            "this COSStream. It must be closed before querying" +
+            throw new IllegalStateException("There is an open OutputStream associated with this " +
+                                            "COSStream. It must be closed before querying the " +
                                             "length of this COSStream.");
         }
         return getInt(COSName.LENGTH, 0);