Author: tilman
Date: Mon May 18 10:01:45 2026
New Revision: 1934340
Log:
PDFBOX-5660: remove exception thats never thrown
Modified:
pdfbox/branches/2.0/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDFieldTest.java
Modified:
pdfbox/branches/2.0/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDFieldTest.java
==============================================================================
---
pdfbox/branches/2.0/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDFieldTest.java
Mon May 18 10:01:02 2026 (r1934339)
+++
pdfbox/branches/2.0/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDFieldTest.java
Mon May 18 10:01:45 2026 (r1934340)
@@ -291,7 +291,7 @@ public class PDFieldTest
* Test setValue and getValueAsString methods.
*/
@Test
- public void testSetValueAndGetValueAsString() throws Exception
+ public void testSetValueAndGetValueAsString()
{
// PDTextField requires proper form setup with /DR (Default Resources)
to set values.
// This test verifies the method signatures and basic behavior without
triggering appearance generation.