aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src/main/java/at/gv/egiz
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-lib/src/main/java/at/gv/egiz')
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/ValueResolver.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/ValueResolver.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/ValueResolver.java
index 133995ba..fc3ffef3 100644
--- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/ValueResolver.java
+++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/stamping/ValueResolver.java
@@ -66,9 +66,9 @@ public class ValueResolver implements IProfileConstants, IResolver {
logger.debug("Resolving value with value: " + value);
if (key.equals(SIG_DATE)) {
- //if (value == null) {
- value = defaultDateFormat;
- //}
+ if (value == null) {
+ value = defaultDateFormat;
+ }
// Value holds the date format!
SimpleDateFormat formater = new SimpleDateFormat(value);
//formater.setTimeZone(TimeZone.getTimeZone("UTC"));