Skip to content

Commit

Permalink
fix align
Browse files Browse the repository at this point in the history
Change-Id: I05544b441ca1d058a010659316ca044af75923f1
  • Loading branch information
javeme committed Jun 18, 2020
1 parent 2b78aee commit fb6ad12
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions src/main/java/com/baidu/hugegraph/rest/AbstractRestClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,29 +82,32 @@ public AbstractRestClient(String url, int timeout) {
this(url, new ConfigBuilder().config(timeout).build());
}

public AbstractRestClient(String url, String user, String password, int timeout) {
public AbstractRestClient(String url, String user, String password,
int timeout) {
this(url, new ConfigBuilder().config(timeout)
.config(user, password)
.build());
}

public AbstractRestClient(String url, int timeout, int maxTotal, int maxPerRoute) {
public AbstractRestClient(String url, int timeout, int maxTotal,
int maxPerRoute) {
this(url, new ConfigBuilder().config(timeout)
.config(maxTotal, maxPerRoute)
.build());
}

public AbstractRestClient(String url, String user, String password, int timeout,
int maxTotal, int maxPerRoute) {
public AbstractRestClient(String url, String user, String password,
int timeout, int maxTotal, int maxPerRoute) {
this(url, new ConfigBuilder().config(timeout)
.config(user, password)
.config(maxTotal, maxPerRoute)
.build());
}

public AbstractRestClient(String url, String user, String password, int timeout,
int maxTotal, int maxPerRoute, String protocol,
String trustStoreFile, String trustStorePassword) {
public AbstractRestClient(String url, String user, String password,
int timeout, int maxTotal, int maxPerRoute,
String protocol, String trustStoreFile,
String trustStorePassword) {
this(url, new ConfigBuilder().config(timeout)
.config(user, password)
.config(maxTotal, maxPerRoute)
Expand Down

0 comments on commit fb6ad12

Please sign in to comment.