From 7951b70c254af9d6fd583e3b8e8ad04cb433a314 Mon Sep 17 00:00:00 2001 From: guodong Date: Mon, 5 Nov 2018 18:11:55 +0800 Subject: [PATCH] format indenting --- src/main/java/com/cf/client/HTTPClient.java | 6 ++++-- .../java/com/cf/client/poloniex/PoloniexLendingService.java | 3 ++- .../com/cf/client/poloniex/PoloniexPublicAPIClient.java | 6 ++++-- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/cf/client/HTTPClient.java b/src/main/java/com/cf/client/HTTPClient.java index e270365..de3dfe4 100644 --- a/src/main/java/com/cf/client/HTTPClient.java +++ b/src/main/java/com/cf/client/HTTPClient.java @@ -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; } diff --git a/src/main/java/com/cf/client/poloniex/PoloniexLendingService.java b/src/main/java/com/cf/client/poloniex/PoloniexLendingService.java index 4ed7ac2..a80ae71 100644 --- a/src/main/java/com/cf/client/poloniex/PoloniexLendingService.java +++ b/src/main/java/com/cf/client/poloniex/PoloniexLendingService.java @@ -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(); } diff --git a/src/main/java/com/cf/client/poloniex/PoloniexPublicAPIClient.java b/src/main/java/com/cf/client/poloniex/PoloniexPublicAPIClient.java index 6c7bd3f..1012d7f 100644 --- a/src/main/java/com/cf/client/poloniex/PoloniexPublicAPIClient.java +++ b/src/main/java/com/cf/client/poloniex/PoloniexPublicAPIClient.java @@ -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); }