summaryrefslogtreecommitdiff
path: root/trunk/pdf-over-signer
diff options
context:
space:
mode:
authortkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459>2012-08-24 17:05:32 +0000
committertkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459>2012-08-24 17:05:32 +0000
commitc8558e8d7d7bfe9ff7ce1ecfe0be4940ab06f81f (patch)
treebc67542926d0043b84c77ab7e3e31d4d5f81cfe3 /trunk/pdf-over-signer
parenta58251f4c8df3d68a879450ae43821e91eb87e74 (diff)
downloadpdf-over-c8558e8d7d7bfe9ff7ce1ecfe0be4940ab06f81f.tar.gz
pdf-over-c8558e8d7d7bfe9ff7ce1ecfe0be4940ab06f81f.tar.bz2
pdf-over-c8558e8d7d7bfe9ff7ce1ecfe0be4940ab06f81f.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://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12395 3a0b52a2-8410-0410-bc02-ff6273a87459
Diffstat (limited to 'trunk/pdf-over-signer')
-rw-r--r--trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/ByteArrayPDFASDataSource.java8
-rw-r--r--trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASHelper.java9
-rw-r--r--trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSLRequest.java1
-rw-r--r--trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSignerFactory.java7
-rw-r--r--trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigningState.java7
-rw-r--r--trunk/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/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/ByteArrayPDFASDataSource.java b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/ByteArrayPDFASDataSource.java
index 31e522db..5998055a 100644
--- a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/ByteArrayPDFASDataSource.java
+++ b/trunk/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/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASHelper.java b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASHelper.java
index 80617989..cac338ba 100644
--- a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASHelper.java
+++ b/trunk/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/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSLRequest.java b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSLRequest.java
index 7267db85..493b3e9c 100644
--- a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSLRequest.java
+++ b/trunk/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/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSignerFactory.java b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSignerFactory.java
index 94c13412..68a29341 100644
--- a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSignerFactory.java
+++ b/trunk/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/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigningState.java b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigningState.java
index 72e24747..4849d26e 100644
--- a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigningState.java
+++ b/trunk/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/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java
index 4825785b..9aec98f7 100644
--- a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java
+++ b/trunk/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