Skip to content

Commit ab28970

Browse files
committed
PDFBOX-5660: Sonar fix
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1924862 13f79535-47bb-0310-9956-ffa450edef68
1 parent 91b5ec7 commit ab28970

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/src/test/java/org/apache/pdfbox/tools/imageio/TestImageIOUtils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
import java.io.DataInputStream;
3131
import java.io.File;
3232
import java.io.FileInputStream;
33-
import java.io.FileNotFoundException;
3433
import java.io.FileOutputStream;
3534
import java.io.IOException;
3635
import java.io.OutputStream;
@@ -372,7 +371,7 @@ private void checkResolution(String filename, int expectedResolution)
372371
* @throws IOException if something goes wrong
373372
*/
374373
private void checkBmpResolution(String filename, int expectedResolution)
375-
throws FileNotFoundException, IOException
374+
throws IOException
376375
{
377376
// BMP format explained here:
378377
// http://www.javaworld.com/article/2077561/learn-java/java-tip-60--saving-bitmap-files-in-java.html

0 commit comments

Comments
 (0)