summaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
authorTobias Kellner <tobias.kellner@iaik.tugraz.at>2012-11-14 11:31:09 +0100
committerTobias Kellner <tobias.kellner@iaik.tugraz.at>2012-11-14 11:31:09 +0100
commitec659adff5aff99b8de66c7b815db4898d8db90e (patch)
tree9e4a59fb612fde00fa3d0c485cc783db434dd073 /trunk
parentcb33e66d981d5e375f50f88d2bd7a421822cd36c (diff)
downloadpdf-over-ec659adff5aff99b8de66c7b815db4898d8db90e.tar.gz
pdf-over-ec659adff5aff99b8de66c7b815db4898d8db90e.tar.bz2
pdf-over-ec659adff5aff99b8de66c7b815db4898d8db90e.zip
Spelling
Diffstat (limited to 'trunk')
-rw-r--r--trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java24
-rw-r--r--trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/PostTanThread.java8
2 files changed, 16 insertions, 16 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java
index 306ac6ae..2f498a98 100644
--- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/LocalBKUState.java
+++ b/trunk/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/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/PostTanThread.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/PostTanThread.java
index 22cb6317..21c4e86e 100644
--- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/mobilebku/PostTanThread.java
+++ b/trunk/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();
}