diff options
author | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-10-06 10:11:35 +0200 |
---|---|---|
committer | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-10-06 10:11:35 +0200 |
commit | 434ad00d88ce24785b9d9edbcd03ffa562fd8a4e (patch) | |
tree | d68c5a06bf49ca8bff6fba48ab6ef068c4ad4804 /pdf-over-signer/src/main/java | |
parent | e9a7e90fda934dd5d053127470d0b849b1b8fc4b (diff) | |
download | pdf-over-434ad00d88ce24785b9d9edbcd03ffa562fd8a4e.tar.gz pdf-over-434ad00d88ce24785b9d9edbcd03ffa562fd8a4e.tar.bz2 pdf-over-434ad00d88ce24785b9d9edbcd03ffa562fd8a4e.zip |
sanitizing NULLable config values
Diffstat (limited to 'pdf-over-signer/src/main/java')
-rw-r--r-- | pdf-over-signer/src/main/java/at/asit/pdfover/signer/Emblem.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf-over-signer/src/main/java/at/asit/pdfover/signer/Emblem.java b/pdf-over-signer/src/main/java/at/asit/pdfover/signer/Emblem.java index c045169a..6c368b16 100644 --- a/pdf-over-signer/src/main/java/at/asit/pdfover/signer/Emblem.java +++ b/pdf-over-signer/src/main/java/at/asit/pdfover/signer/Emblem.java @@ -85,7 +85,7 @@ public class Emblem { this.originalFileName = filename; } - private String getFileHash(String filename) throws IOException { + private static String getFileHash(String filename) throws IOException { InputStream is = Files.newInputStream(Path.of(filename)); return DigestUtils.md5Hex(is); } |