diff options
author | Emina Ahmetovic <emina.ahmetovic@egiz.gv.at> | 2020-11-02 16:18:55 +0100 |
---|---|---|
committer | Emina Ahmetovic <emina.ahmetovic@egiz.gv.at> | 2020-11-02 16:18:55 +0100 |
commit | 17ca0eee124f6aed0837a938b3bfd4ca60fe5d0e (patch) | |
tree | 417f59035c11ef3071c2ec850919e5f029e83e89 /pdf-as-lib/src/main | |
parent | 63e243d01fdedf84fe36287e75ae58e064d3e673 (diff) | |
download | pdf-as-4-17ca0eee124f6aed0837a938b3bfd4ca60fe5d0e.tar.gz pdf-as-4-17ca0eee124f6aed0837a938b3bfd4ca60fe5d0e.tar.bz2 pdf-as-4-17ca0eee124f6aed0837a938b3bfd4ca60fe5d0e.zip |
Code cleanup
Diffstat (limited to 'pdf-as-lib/src/main')
3 files changed, 3 insertions, 9 deletions
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 57a89df0..324712cb 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.trace("Initializing PDF-AS with config: " + cfgFile.getPath()); + logger.debug("Initializing PDF-AS with config: " + cfgFile.getPath()); this.settings = new Settings(cfgFile); } @@ -369,9 +369,7 @@ public class PdfAsImpl implements PdfAs, IConfigurationConstants, for (int i = 0; i < byteRange.length; i++) { sb.append(" " + byteRange[i]); } - - logger.trace("ByteRange: " + sb.toString()); - + logger.debug("ByteRange: " + sb.toString()); request.setSignatureData(signatureDataExtractor .getSignatureData()); diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/BKUSLConnector.java b/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/BKUSLConnector.java index 4a32390b..2e5c972f 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/BKUSLConnector.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/BKUSLConnector.java @@ -170,17 +170,13 @@ public class BKUSLConnector extends BaseSLConnector { } holder.getProcessInfo().add(hdr); - } - } BKUHeader hdr = new BKUHeader( ErrorConstants.STATUS_INFO_SIGDEVICE, SIGNATURE_DEVICE); logger.debug("Response Header : {}", hdr.toString()); - holder.getProcessInfo().add(hdr); - } BufferedReader rd = new BufferedReader(new InputStreamReader( diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/BaseSLConnector.java b/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/BaseSLConnector.java index 46857249..2744276e 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/BaseSLConnector.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/BaseSLConnector.java @@ -97,7 +97,7 @@ public abstract class BaseSLConnector implements ISLConnector, byte[] data = PDFUtils.blackOutSignature(signatureData, byteRange); RequestPackage pack = new RequestPackage(); int[] exclude_range = PDFUtils.buildExcludeRange(byteRange); - logger.info("Exclude Byte Range: " + exclude_range[0] + " " + logger.debug("Exclude Byte Range: " + exclude_range[0] + " " + exclude_range[1]); MetaInfoType metaInfoType = new MetaInfoType(); |