From bd132fcf1ff22088a8e426a4fa9e37135d0e67e5 Mon Sep 17 00:00:00 2001 From: Devendra Date: Thu, 4 Jul 2013 23:01:50 +0530 Subject: [PATCH] reformating --- codenameone/src/com/pubnub/api/HttpClientCore.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/codenameone/src/com/pubnub/api/HttpClientCore.java b/codenameone/src/com/pubnub/api/HttpClientCore.java index c965878dc..66489ab7b 100644 --- a/codenameone/src/com/pubnub/api/HttpClientCore.java +++ b/codenameone/src/com/pubnub/api/HttpClientCore.java @@ -23,7 +23,6 @@ class HttpClientCore extends HttpClient { protected static Logger log = new Logger(Worker.class); private void init() { - //HttpURLConnection.setFollowRedirects(true); connection = new PubnubCn1Connection(); } @@ -58,7 +57,7 @@ public synchronized HttpResponse fetch(String url, Hashtable headers) throws PubnubException, IOException { System.out.println(url); PubnubCn1Response pcr = connection.fetch(url, requestTimeout, headers); - return new HttpResponse(pcr.getResponseStatusCode(), pcr.getResponse());//new HttpResponse(rc, page); + return new HttpResponse(pcr.getResponseStatusCode(), pcr.getResponse()); } public void shutdown() {