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 2022/05/15 08:51:25 UTC
svn commit: r1900916 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFStreamParser.java
Author: tilman
Date: Sun May 15 08:51:24 2022
New Revision: 1900916
URL: http://svn.apache.org/viewvc?rev=1900916&view=rev
Log:
PDFBOX-4892: simplify, as suggested by Valery Bokov
Modified:
pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFStreamParser.java
Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFStreamParser.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFStreamParser.java?rev=1900916&r1=1900915&r2=1900916&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFStreamParser.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFStreamParser.java Sun May 15 08:51:24 2022
@@ -95,9 +95,8 @@ public class PDFStreamParser extends Bas
* Constructor.
*
* @param bytes the bytes to parse.
- * @throws IOException If there is an error initializing the stream.
*/
- public PDFStreamParser(byte[] bytes) throws IOException
+ public PDFStreamParser(byte[] bytes)
{
super(new RandomAccessSource(new RandomAccessBuffer(bytes)));
}