summaryrefslogtreecommitdiff
path: root/trunk/pdf-over-signator
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/pdf-over-signator')
-rw-r--r--trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/PDFFileDocumentSource.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/PDFFileDocumentSource.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/PDFFileDocumentSource.java
index 6aa8154b..c33dfae3 100644
--- a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/PDFFileDocumentSource.java
+++ b/trunk/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;