diff options
author | tkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459> | 2012-08-24 17:05:32 +0000 |
---|---|---|
committer | tkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459> | 2012-08-24 17:05:32 +0000 |
commit | c8558e8d7d7bfe9ff7ce1ecfe0be4940ab06f81f (patch) | |
tree | bc67542926d0043b84c77ab7e3e31d4d5f81cfe3 /trunk/pdf-over-signator | |
parent | a58251f4c8df3d68a879450ae43821e91eb87e74 (diff) | |
download | pdf-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-signator')
7 files changed, 2 insertions, 47 deletions
diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/ByteArrayDocumentSource.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/ByteArrayDocumentSource.java index add8ca4b..8ff79374 100644 --- a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/ByteArrayDocumentSource.java +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/ByteArrayDocumentSource.java @@ -16,9 +16,6 @@ package at.asit.pdfover.signator; //Imports -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - import java.io.ByteArrayInputStream; import java.io.InputStream; @@ -28,11 +25,6 @@ import java.io.InputStream; public class ByteArrayDocumentSource implements DocumentSource { /** - * SFL4J Logger instance - **/ - private static final Logger log = LoggerFactory.getLogger(ByteArrayDocumentSource.class); - - /** * Document content */ protected byte[] data; diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/PDFFileDocumentSource.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/PDFFileDocumentSource.java index 04fab03a..6fdbfe29 100644 --- a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/PDFFileDocumentSource.java +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/PDFFileDocumentSource.java @@ -18,7 +18,6 @@ package at.asit.pdfover.signator; // Imports import java.io.File; import java.io.FileInputStream; -import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignResultImpl.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignResultImpl.java index a8f8b63a..3fb15bba 100644 --- a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignResultImpl.java +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignResultImpl.java @@ -15,22 +15,14 @@ */ package at.asit.pdfover.signator; -import java.security.cert.X509Certificate; - //Imports -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; +import java.security.cert.X509Certificate; /** * The result of a signature operation */ public class SignResultImpl implements SignResult { - /** - * SFL4J Logger instance - **/ - private static Logger log = LoggerFactory.getLogger(Signator.class); - private SignaturePosition position; private DocumentSource source; private X509Certificate certificate; diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureDimension.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureDimension.java index d6d68d44..3b5c2969 100644 --- a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureDimension.java +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureDimension.java @@ -16,8 +16,6 @@ package at.asit.pdfover.signator; //Imports -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; /** * The dimensions of the visible signature block @@ -25,11 +23,6 @@ import org.slf4j.LoggerFactory; public class SignatureDimension { /** - * SFL4J Logger instance - **/ - private static Logger log = LoggerFactory.getLogger(SignatureDimension.class); - - /** * The visible Signature block width */ protected int width; diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureException.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureException.java index 80a8ed5c..8feaee56 100644 --- a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureException.java +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureException.java @@ -16,8 +16,6 @@ package at.asit.pdfover.signator; //Imports -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; /** * Base class for signature exceptions @@ -25,11 +23,6 @@ import org.slf4j.LoggerFactory; public class SignatureException extends Exception { /** - * SFL4J Logger instance - **/ - private static Logger log = LoggerFactory.getLogger(SignatureException.class); - - /** * */ private static final long serialVersionUID = 711578398780816710L; diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java index 1edb997b..f3ba2a34 100644 --- a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java @@ -16,8 +16,6 @@ package at.asit.pdfover.signator; //Imports -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; /** * The Signature Parameter @@ -25,11 +23,6 @@ import org.slf4j.LoggerFactory; public abstract class SignatureParameter { /** - * SFL4J Logger instance - **/ - private static Logger log = LoggerFactory.getLogger(SignatureParameter.class); - - /** * The Signature Position * @uml.property name="signaturePosition" * @uml.associationEnd diff --git a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignaturePosition.java b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignaturePosition.java index 16aae296..edcb263d 100644 --- a/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignaturePosition.java +++ b/trunk/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignaturePosition.java @@ -16,19 +16,12 @@ package at.asit.pdfover.signator; //Imports -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; /** * Represents the position of a visible signature block */ public class SignaturePosition { - - /** - * SFL4J Logger instance - **/ - private static Logger log = LoggerFactory.getLogger(SignaturePosition.class); - + /** * The x value of the position */ |