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 2014/06/09 01:57:10 UTC

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

Author: tilman
Date: Sun Jun  8 23:57:09 2014
New Revision: 1601275

URL: http://svn.apache.org/r1601275
Log:
PDFBOX-1600: exception is not thrown in no-args constructor

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=1601275&r1=1601274&r2=1601275&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 Sun Jun  8 23:57:09 2014
@@ -136,10 +136,8 @@ public class COSDocument extends COSBase
 
     /**
      * Constructor.  Uses memory to store stream.
-     *
-     *  @throws IOException If there is an error creating the tmp file.
      */
-    public COSDocument() throws IOException 
+    public COSDocument()
     {
         this(new RandomAccessBuffer(), false);
     }