pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1601279 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
Date Mon, 09 Jun 2014 00:04:51 GMT
Author: tilman
Date: Mon Jun  9 00:04:50 2014
New Revision: 1601279

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

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java?rev=1601279&r1=1601278&r2=1601279&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java Mon Jun  9
00:04:50 2014
@@ -105,10 +105,8 @@ public class PDDocument implements Close
     /**
      * Creates an empty PDF document.
      * You need to add at least one page for the document to be valid.
-     * 
-     * @throws IOException If there is an error creating this document.
      */
-    public PDDocument() throws IOException
+    public PDDocument()
     {
         document = new COSDocument();
 



Mime
View raw message