Author: tilman
Date: Sat Apr 5 19:21:46 2025
New Revision: 1924839
URL: http://svn.apache.org/viewvc?rev=1924839&view=rev
Log:
PDFBOX-5660: Sonar fix
Modified:
pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/multipdf/TestLayerUtility.java
Modified:
pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/multipdf/TestLayerUtility.java
URL:
http://svn.apache.org/viewvc/pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/multipdf/TestLayerUtility.java?rev=1924839&r1=1924838&r2=1924839&view=diff
==============================================================================
---
pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/multipdf/TestLayerUtility.java
(original)
+++
pdfbox/branches/3.0/pdfbox/src/test/java/org/apache/pdfbox/multipdf/TestLayerUtility.java
Sat Apr 5 19:21:46 2025
@@ -54,7 +54,7 @@ class TestLayerUtility
private static final File TESTRESULTSDIR = new File("target/test-output");
@BeforeAll
- static void setUp() throws Exception
+ static void setUp()
{
TESTRESULTSDIR.mkdirs();
}
@@ -64,7 +64,7 @@ class TestLayerUtility
* @throws Exception if an error occurs
*/
@Test
- void testLayerImport() throws Exception
+ void testLayerImport() throws IOException
{
File mainPDF = createMainPDF();
File overlay1 = createOverlay1();