From f9278976789952fc9528f47b6d99a37d79532f68 Mon Sep 17 00:00:00 2001 From: Jakob Heher Date: Fri, 30 Sep 2022 12:04:19 +0200 Subject: redundancy --- pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/BKUHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pdf-over-gui/src/main/java') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/BKUHelper.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/BKUHelper.java index 6eb071c5..382a3d24 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/BKUHelper.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/BKUHelper.java @@ -38,7 +38,7 @@ public class BKUHelper { /* public static HttpClient getHttpClient(boolean useProxy) { HttpClient client = new HttpClient(); client.getParams().setParameter("http.useragent", - Constants.USER_AGENT_STRING); + Constants.APP_NAME_VERSION); if (useProxy) { String host = System.getProperty("http.proxyHost"); @@ -70,7 +70,7 @@ public class BKUHelper { public static HttpClient getHttpClient(boolean useProxy) { HttpClient client = new HttpClient(); client.getParams().setParameter("http.useragent", - Constants.USER_AGENT_STRING); + Constants.APP_NAME_VERSION); client.getParams().setParameter("http.protocol.cookie-policy", CookieSpecs.BROWSER_COMPATIBILITY); -- cgit v1.2.3