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:09 UTC
svn commit: r1900915 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFStreamParser.java
Author: tilman
Date: Sun May 15 08:51:09 2022
New Revision: 1900915
URL: http://svn.apache.org/viewvc?rev=1900915&view=rev
Log:
PDFBOX-4892: simplify, as suggested by Valery Bokov
Modified:
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFStreamParser.java
Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFStreamParser.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFStreamParser.java?rev=1900915&r1=1900914&r2=1900915&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFStreamParser.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFStreamParser.java Sun May 15 08:51:09 2022
@@ -63,9 +63,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 RandomAccessReadBuffer(bytes));
}