summaryrefslogtreecommitdiff
path: root/pdf-over-signer
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 18:54:16 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 18:54:16 +0000
commit7b9387fd576cea39d5a430312536d3723fdfeeed (patch)
treef051b62fee1ec0c43dd69b64d6b112c9f73569f2 /pdf-over-signer
parentac2ce0739061c2a0f9303519ed7efd0eba4af925 (diff)
downloadpdf-over-7b9387fd576cea39d5a430312536d3723fdfeeed.tar.gz
pdf-over-7b9387fd576cea39d5a430312536d3723fdfeeed.tar.bz2
pdf-over-7b9387fd576cea39d5a430312536d3723fdfeeed.zip
Code houskeeping
Tagged some string constants as NON-NLS Changed visibility of some logger instances for inner classes Added qualifier for access of class variables Organised imports Removed unused loggers git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@30 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-signer')
-rw-r--r--pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/ByteArrayPDFASDataSource.java8
-rw-r--r--pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASHelper.java9
-rw-r--r--pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSLRequest.java1
-rw-r--r--pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSignerFactory.java7
-rw-r--r--pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigningState.java7
-rw-r--r--pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java9
6 files changed, 2 insertions, 39 deletions
diff --git a/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/ByteArrayPDFASDataSource.java b/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/ByteArrayPDFASDataSource.java
index 31e522db..5998055a 100644
--- a/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/ByteArrayPDFASDataSource.java
+++ b/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/ByteArrayPDFASDataSource.java
@@ -19,9 +19,6 @@ package at.asit.pdfover.signer.pdfas;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
import at.gv.egiz.pdfas.api.io.DataSource;
/**
@@ -30,11 +27,6 @@ import at.gv.egiz.pdfas.api.io.DataSource;
public class ByteArrayPDFASDataSource implements DataSource {
/**
- * SFL4J Logger instance
- **/
- private static final Logger log = LoggerFactory.getLogger(ByteArrayPDFASDataSource.class);
-
- /**
* Internal data byte array
*/
private byte[] data;
diff --git a/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASHelper.java b/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASHelper.java
index 80617989..cac338ba 100644
--- a/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASHelper.java
+++ b/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASHelper.java
@@ -18,8 +18,6 @@ package at.asit.pdfover.signer.pdfas;
//Imports
import java.io.File;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
import at.asit.pdfover.signator.SignatureException;
import at.gv.egiz.pdfas.api.PdfAs;
import at.gv.egiz.pdfas.api.exceptions.PdfAsException;
@@ -29,12 +27,7 @@ import at.gv.egiz.pdfas.api.internal.PdfAsInternal;
* Encapsulates PDF AS API Object to need just one initialization
*/
public class PDFASHelper {
-
- /**
- * SFL4J Logger instance
- **/
- private static final Logger log = LoggerFactory.getLogger(PDFASHelper.class);
-
+
/**
* PDF AS Object
*/
diff --git a/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSLRequest.java b/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSLRequest.java
index 7267db85..493b3e9c 100644
--- a/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSLRequest.java
+++ b/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSLRequest.java
@@ -20,7 +20,6 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import at.asit.pdfover.signator.ByteArrayDocumentSource;
-import at.asit.pdfover.signator.DocumentSource;
import at.asit.pdfover.signator.SLRequest;
/**
diff --git a/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSignerFactory.java b/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSignerFactory.java
index 94c13412..68a29341 100644
--- a/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSignerFactory.java
+++ b/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSignerFactory.java
@@ -16,8 +16,6 @@
package at.asit.pdfover.signer.pdfas;
//Imports
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
import at.asit.pdfover.signator.Signer;
import at.asit.pdfover.signator.SignerFactory;
@@ -26,11 +24,6 @@ import at.asit.pdfover.signator.SignerFactory;
*/
public class PDFASSignerFactory extends SignerFactory {
- /**
- * SFL4J Logger instance
- **/
- private static final Logger log = LoggerFactory.getLogger(PDFASSignerFactory.class);
-
@Override
public Signer createSigner() {
return new PDFASSigner();
diff --git a/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigningState.java b/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigningState.java
index 72e24747..4849d26e 100644
--- a/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigningState.java
+++ b/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigningState.java
@@ -16,8 +16,6 @@
package at.asit.pdfover.signer.pdfas;
//Imports
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
import at.asit.pdfover.signator.SLRequest;
import at.asit.pdfover.signator.SLResponse;
import at.asit.pdfover.signator.SigningState;
@@ -30,11 +28,6 @@ import at.gv.egiz.pdfas.api.sign.SignatureDetailInformation;
public class PDFASSigningState implements SigningState {
/**
- * SFL4J Logger instance
- **/
- private static final Logger log = LoggerFactory.getLogger(PDFASSigningState.class);
-
- /**
* The Signature Layer request
*/
protected SLRequest slrequest;
diff --git a/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java b/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java
index 4825785b..9aec98f7 100644
--- a/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java
+++ b/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java
@@ -16,23 +16,16 @@
package at.asit.pdfover.signer.pdfas;
//Imports
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
import at.asit.pdfover.signator.SignatureDimension;
import at.asit.pdfover.signator.SignatureParameter;
-import at.gv.egiz.pdfas.api.sign.pos.SignaturePositioning;
import at.gv.egiz.pdfas.api.io.DataSource;
+import at.gv.egiz.pdfas.api.sign.pos.SignaturePositioning;
/**
* Implementation of SignatureParameter specific for PDF - AS Library
*/
public class PdfAsSignatureParameter extends SignatureParameter {
- /**
- * SFL4J Logger instance
- **/
- private static final Logger log = LoggerFactory.getLogger(PdfAsSignatureParameter.class);
-
@Override
public SignatureDimension getPlaceholderDimension() {
// TODO Auto-generated method stub