Skip to content

Commit

Permalink
reformating
Browse files Browse the repository at this point in the history
  • Loading branch information
Devendra committed Jul 4, 2013
1 parent 1b5b802 commit bd132fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions codenameone/src/com/pubnub/api/HttpClientCore.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit bd132fc

Please sign in to comment.