From 892c852352f48b18f2f2dadff6c223039d41aba0 Mon Sep 17 00:00:00 2001 From: Emina Ahmetovic Date: Fri, 30 Oct 2020 14:06:31 +0100 Subject: change log, reformat code --- .../java/at/gv/egiz/pdfas/lib/impl/PdfAsImpl.java | 4 ++-- .../gv/egiz/sl20/utils/SL20JSONExtractorUtils.java | 3 +-- pdf-as-lib/src/main/resources/config/config.zip | Bin 1277365 -> 1276558 bytes 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'pdf-as-lib/src/main') diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/PdfAsImpl.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/PdfAsImpl.java index c19b7b10..57a89df0 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/PdfAsImpl.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/PdfAsImpl.java @@ -72,7 +72,7 @@ public class PdfAsImpl implements PdfAs, IConfigurationConstants, private ISettings settings; public PdfAsImpl(File cfgFile) { - logger.info("Initializing PDF-AS with config: " + cfgFile.getPath()); + logger.trace("Initializing PDF-AS with config: " + cfgFile.getPath()); this.settings = new Settings(cfgFile); } @@ -370,7 +370,7 @@ public class PdfAsImpl implements PdfAs, IConfigurationConstants, sb.append(" " + byteRange[i]); } - logger.info("ByteRange: " + sb.toString()); + logger.trace("ByteRange: " + sb.toString()); request.setSignatureData(signatureDataExtractor diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/sl20/utils/SL20JSONExtractorUtils.java b/pdf-as-lib/src/main/java/at/gv/egiz/sl20/utils/SL20JSONExtractorUtils.java index 8ed27e3c..8eb7211f 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/sl20/utils/SL20JSONExtractorUtils.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/sl20/utils/SL20JSONExtractorUtils.java @@ -1,6 +1,5 @@ package at.gv.egiz.sl20.utils; -import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; @@ -200,7 +199,7 @@ public class SL20JSONExtractorUtils { while (entry.hasNext()) { Entry el = entry.next(); if (result.containsKey(el.getKey())) - log.info("Attr. Map already contains Element with Key: " + el.getKey() + ". Overwrite element ... "); + log.debug("Attr. Map already contains Element with Key: " + el.getKey() + ". Overwrite element ... "); result.put(el.getKey(), el.getValue().getAsString()); diff --git a/pdf-as-lib/src/main/resources/config/config.zip b/pdf-as-lib/src/main/resources/config/config.zip index 495b3028..ebfeee02 100644 Binary files a/pdf-as-lib/src/main/resources/config/config.zip and b/pdf-as-lib/src/main/resources/config/config.zip differ -- cgit v1.2.3