Skip to content

Commit cd24abd

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io/src/test/java/org/apache/pdfbox/io/NonSeekableRandomAccessReadInputStreamTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ void testAccessClosed() throws IOException
284284
assertEquals(1, rar.read());
285285
assertEquals(-1, rar.read());
286286
rar.close();
287-
Assertions.assertThrows(IOException.class, () -> rar.read(),
287+
Assertions.assertThrows(IOException.class, rar::read,
288288
"read() should have thrown an IOException");
289289
}
290290

0 commit comments

Comments
 (0)