Skip to content

Commit

Permalink
format indenting
Browse files Browse the repository at this point in the history
  • Loading branch information
guodong committed Nov 5, 2018
1 parent e2b4860 commit 7951b70
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
6 changes: 4 additions & 2 deletions src/main/java/com/cf/client/HTTPClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ public class HTTPClient

private final HttpHost proxy;

public HTTPClient() {
public HTTPClient()
{
this.proxy = null;
}

public HTTPClient(HttpHost proxy) {
public HTTPClient(HttpHost proxy)
{
this.proxy = proxy;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ public PoloniexLendingService(String apiKey, String apiSecret)
this.mapper = new PoloniexDataMapper();
}

public PoloniexLendingService(String apiKey, String apiSecret, HttpHost proxy) {
public PoloniexLendingService(String apiKey, String apiSecret, HttpHost proxy)
{
this.tradingClient = new PoloniexTradingAPIClient(apiKey, apiSecret, proxy);
this.mapper = new PoloniexDataMapper();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ public class PoloniexPublicAPIClient implements PriceDataAPIClient
private static final String PUBLIC_URL = "https://poloniex.com/public?";
private final HTTPClient client;

public PoloniexPublicAPIClient() {
public PoloniexPublicAPIClient()
{
this.client = new HTTPClient();
}

public PoloniexPublicAPIClient(HttpHost proxy) {
public PoloniexPublicAPIClient(HttpHost proxy)
{
this.client = new HTTPClient(proxy);
}

Expand Down

0 comments on commit 7951b70

Please sign in to comment.