Skip to content

Commit 1e0fddc

Browse files
committed
PDFBOX-5660: remove unneeded cast
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1924365 13f79535-47bb-0310-9956-ffa450edef68
1 parent 43b1f8c commit 1e0fddc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/src/test/java/org/apache/pdfbox/examples/pdmodel/TestCreateSignature.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ private void checkSignature(File origFile, File signedFile, boolean checkTimeSta
600600
// verify that all getContents() methods returns the same content
601601
try (FileInputStream fis = new FileInputStream(signedFile))
602602
{
603-
byte[] contents2 = sig.getContents(((InputStream) fis).readAllBytes());
603+
byte[] contents2 = sig.getContents(fis.readAllBytes());
604604
assertArrayEquals(contents, contents2);
605605
}
606606
byte[] contents3 = sig.getContents(new FileInputStream(signedFile));

0 commit comments

Comments
 (0)