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 2026/07/24 09:26:56 UTC
svn commit: r1936544 - pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image
Author: tilman
Date: Fri Jul 24 09:26:56 2026
New Revision: 1936544
Log:
PDFBOX-5660: fix javadoc
Modified:
pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image/CCITTFactoryTest.java
Modified: pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image/CCITTFactoryTest.java
==============================================================================
--- pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image/CCITTFactoryTest.java Fri Jul 24 09:26:52 2026 (r1936543)
+++ pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image/CCITTFactoryTest.java Fri Jul 24 09:26:56 2026 (r1936544)
@@ -72,6 +72,8 @@ class CCITTFactoryTest
/**
* Tests CCITTFactory#createFromRandomAccess(PDDocument document,
* RandomAccess reader) with a single page TIFF
+ *
+ * @throws IOException
*/
@Test
void testCreateFromRandomAccessSingle() throws IOException
@@ -115,6 +117,8 @@ class CCITTFactoryTest
/**
* Tests CCITTFactory#createFromRandomAccess(PDDocument document,
* RandomAccess reader) with a multi page TIFF
+ *
+ * @throws IOException
*/
@Test
void testCreateFromRandomAccessMulti() throws IOException
@@ -232,6 +236,8 @@ class CCITTFactoryTest
/**
* Tests that CCITTFactory#createFromFile(PDDocument document, File file) doesn't lock the
* source file
+ *
+ * @throws IOException
*/
@Test
void testCreateFromFileLock() throws IOException
@@ -250,6 +256,8 @@ class CCITTFactoryTest
/**
* Tests that CCITTFactory#createFromFile(PDDocument document, File file, int number) doesn't
* lock the source file
+ *
+ * @throws IOException
*/
@Test
void testCreateFromFileNumberLock() throws IOException
@@ -268,6 +276,8 @@ class CCITTFactoryTest
/**
* Tests that byte/short tag values are read correctly (ignoring possible garbage in remaining
* bytes).
+ *
+ * @throws IOException
*/
@Test
void testByteShortPaddedWithGarbage() throws IOException
@@ -324,6 +334,8 @@ class CCITTFactoryTest
* value. The previous implementation returned a (possibly negative) int, which was then
* sign-extended when widened to long, corrupting IFD offsets/counts whose high bit is set
* (e.g. 0x80000000 and above).
+ *
+ * @throws IOException
*/
@Test
void testReadLongIsUnsigned() throws IOException