diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:25:16 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:25:16 +0000 |
commit | ba957ec5614008cc3e7c058049e62621fb84f0db (patch) | |
tree | 7cc73e46a37091761861a914b42963b4293159ac /pdf-over-gui | |
parent | ca6b23df86dfc9a477351d9760cbccfda710fa1a (diff) | |
download | pdf-over-ba957ec5614008cc3e7c058049e62621fb84f0db.tar.gz pdf-over-ba957ec5614008cc3e7c058049e62621fb84f0db.tar.bz2 pdf-over-ba957ec5614008cc3e7c058049e62621fb84f0db.zip |
Spelling
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@309 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java | 24 | ||||
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/PostTanThread.java | 8 |
2 files changed, 16 insertions, 16 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java index 306ac6ae..2f498a98 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java @@ -42,17 +42,17 @@ public class LocalBKUState extends State { /** * HTTP Response server HEADER */ - public final static String BKU_REPSONE_HEADER_SERVER = "server"; //$NON-NLS-1$ + public final static String BKU_RESPONSE_HEADER_SERVER = "server"; //$NON-NLS-1$ /** * HTTP Response user-agent HEADER */ - public final static String BKU_REPSONE_HEADER_USERAGENT = "user-agent"; //$NON-NLS-1$ + public final static String BKU_RESPONSE_HEADER_USERAGENT = "user-agent"; //$NON-NLS-1$ /** * HTTP Response SignatureLayout HEADER */ - public final static String BKU_REPSONE_HEADER_SIGNATURE_LAYOUT = "SignatureLayout"; //$NON-NLS-1$ + public final static String BKU_RESPONSE_HEADER_SIGNATURE_LAYOUT = "SignatureLayout"; //$NON-NLS-1$ /** * PDF Over User Agent string @@ -96,24 +96,24 @@ public class LocalBKUState extends State { String server = ""; //$NON-NLS-1$ String userAgent = ""; //$NON-NLS-1$ String signatureLayout = null; - if (method.getResponseHeader(BKU_REPSONE_HEADER_SERVER) != null&& - !method.getResponseHeader(BKU_REPSONE_HEADER_SERVER).equals("")) { //$NON-NLS-1$ + if (method.getResponseHeader(BKU_RESPONSE_HEADER_SERVER) != null&& + !method.getResponseHeader(BKU_RESPONSE_HEADER_SERVER).equals("")) { //$NON-NLS-1$ server = method.getResponseHeader( - BKU_REPSONE_HEADER_SERVER).getValue(); + BKU_RESPONSE_HEADER_SERVER).getValue(); } - if (method.getResponseHeader(BKU_REPSONE_HEADER_USERAGENT) != null && - !method.getResponseHeader(BKU_REPSONE_HEADER_USERAGENT).equals("")) { //$NON-NLS-1$ + if (method.getResponseHeader(BKU_RESPONSE_HEADER_USERAGENT) != null && + !method.getResponseHeader(BKU_RESPONSE_HEADER_USERAGENT).equals("")) { //$NON-NLS-1$ userAgent = method.getResponseHeader( - BKU_REPSONE_HEADER_USERAGENT).getValue(); + BKU_RESPONSE_HEADER_USERAGENT).getValue(); } if (method - .getResponseHeader(BKU_REPSONE_HEADER_SIGNATURE_LAYOUT) != null && + .getResponseHeader(BKU_RESPONSE_HEADER_SIGNATURE_LAYOUT) != null && !method - .getResponseHeader(BKU_REPSONE_HEADER_SIGNATURE_LAYOUT).equals("")) { //$NON-NLS-1$ + .getResponseHeader(BKU_RESPONSE_HEADER_SIGNATURE_LAYOUT).equals("")) { //$NON-NLS-1$ signatureLayout = method.getResponseHeader( - BKU_REPSONE_HEADER_SIGNATURE_LAYOUT).getValue(); + BKU_RESPONSE_HEADER_SIGNATURE_LAYOUT).getValue(); } String response = method.getResponseBodyAsString(); diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/PostTanThread.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/PostTanThread.java index 22cb6317..21c4e86e 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/PostTanThread.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/PostTanThread.java @@ -110,9 +110,9 @@ public class PostTanThread implements Runnable { responseData = gmethod.getResponseBodyAsString(); if (gmethod - .getResponseHeader(LocalBKUState.BKU_REPSONE_HEADER_SERVER) != null) { + .getResponseHeader(LocalBKUState.BKU_RESPONSE_HEADER_SERVER) != null) { server = gmethod.getResponseHeader( - LocalBKUState.BKU_REPSONE_HEADER_SERVER) + LocalBKUState.BKU_RESPONSE_HEADER_SERVER) .getValue(); } @@ -120,9 +120,9 @@ public class PostTanThread implements Runnable { responseData = method.getResponseBodyAsString(); if (method - .getResponseHeader(LocalBKUState.BKU_REPSONE_HEADER_SERVER) != null) { + .getResponseHeader(LocalBKUState.BKU_RESPONSE_HEADER_SERVER) != null) { server = method.getResponseHeader( - LocalBKUState.BKU_REPSONE_HEADER_SERVER) + LocalBKUState.BKU_RESPONSE_HEADER_SERVER) .getValue(); } |