summaryrefslogtreecommitdiff
path: root/pdf-over-signator/src/main/java/at/asit
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-signator/src/main/java/at/asit')
-rw-r--r--pdf-over-signator/src/main/java/at/asit/pdfover/signator/PDFFileDocumentSource.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf-over-signator/src/main/java/at/asit/pdfover/signator/PDFFileDocumentSource.java b/pdf-over-signator/src/main/java/at/asit/pdfover/signator/PDFFileDocumentSource.java
index 6aa8154b..c33dfae3 100644
--- a/pdf-over-signator/src/main/java/at/asit/pdfover/signator/PDFFileDocumentSource.java
+++ b/pdf-over-signator/src/main/java/at/asit/pdfover/signator/PDFFileDocumentSource.java
@@ -62,7 +62,7 @@ public class PDFFileDocumentSource implements DocumentSource {
@Override
public int getLength() {
if(this.file.length() > Integer.MAX_VALUE) {
- // TODO: Handle error somehow or use long ... (Ignore Files larger than 2 GB)
+ log.error("File size to big!" + this.file.length());
}
this.len = (int) this.file.length();
return this.len;