diff options
author | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2014-03-15 00:19:36 +0100 |
---|---|---|
committer | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2014-04-03 15:38:36 +0200 |
commit | 0f8777952974daf03099bf48c6db1d91bd431bb2 (patch) | |
tree | b5a4c2f2e8b3420ea8317bcfbeddd360ab99e38c /pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper | |
parent | 6a7fcab53bb00b4eb59cc41b1a8de81ab81e2b19 (diff) | |
download | pdf-as-4-0f8777952974daf03099bf48c6db1d91bd431bb2.tar.gz pdf-as-4-0f8777952974daf03099bf48c6db1d91bd431bb2.tar.bz2 pdf-as-4-0f8777952974daf03099bf48c6db1d91bd431bb2.zip |
Remove unused imports and variables
Diffstat (limited to 'pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper')
-rw-r--r-- | pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PDFASSession.java | 6 | ||||
-rw-r--r-- | pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java | 8 |
2 files changed, 9 insertions, 5 deletions
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PDFASSession.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PDFASSession.java index 99e51d31..f9b42ef2 100644 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PDFASSession.java +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PDFASSession.java @@ -32,11 +32,15 @@ import at.gv.egiz.pdfas.lib.api.sign.SignParameter; public class PDFASSession implements Serializable { + private static final long serialVersionUID = 1L; + public static final String SESSION_TAG = "PDFASSession"; - + private StatusRequest statusRequest; private SignParameter signParameter; + @SuppressWarnings("unused") private Configuration config; + @SuppressWarnings("unused") private PdfAs pdfAs; public PDFASSession(SignParameter parameter) { diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java index db933a6b..2d14a99a 100644 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java @@ -458,8 +458,8 @@ public class PdfAsHelper { HttpSession session = request.getSession(); StatusRequest statusRequest = (StatusRequest) session .getAttribute(PDF_STATUS); - IPlainSigner plainSigner = (IPlainSigner) session - .getAttribute(PDF_SIGNER); +// IPlainSigner plainSigner = (IPlainSigner) session +// .getAttribute(PDF_SIGNER); String connector = (String) session.getAttribute(PDF_SL_INTERACTIVE); @@ -470,8 +470,8 @@ public class PdfAsHelper { // TODO Handle logic for BKU interaction - Configuration config = (Configuration) session - .getAttribute(PDF_CONFIG); +// Configuration config = (Configuration) session +// .getAttribute(PDF_CONFIG); if (statusRequest.needCertificate()) { logger.info("Needing Certificate from BKU"); |