summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java
index a1d33803..ef7cc81d 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java
@@ -516,13 +516,9 @@ public class ATrustHandler extends MobileBKUHandler {
get.addRequestHeader("Accept", "application/json, text/javascript");
get.addRequestHeader("Connection", "keep-alive");
get.addRequestHeader("Referer", uri);
- System.out.println("URL" + uri);
- System.out.println("Cookies " + getStatus().getCookies());
int returnValue = client.executeMethod(get);
- System.out.println("retVal " + returnValue);
- //InputStream in = new BufferedInputStream(urlconnection.getInputStream());
InputStream in = new BufferedInputStream(get.getResponseBodyAsStream());
isReady = IOUtils.toString(in, "utf-8"); //$NON-NLS-1$
@@ -536,14 +532,6 @@ public class ATrustHandler extends MobileBKUHandler {
throw new ATrustConnectionException();
}
- /*if (serverStatus.isWait())
- waits++;
- if (waits > 4) {
- status.setErrorMessage(ERROR);
- log.error(ERROR);
- throw new ATrustConnectionException();
- }*/
-
} while (serverStatus.isWait());
if (serverStatus.isFin()) {