Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ public class ApiClient {
public ApiClient() {
this.dateFormat = createDefaultDateFormat();
this.webClient = buildWebClient(new ObjectMapper(), this.dateFormat);

init();
}

public ApiClient(ObjectMapper mapper, DateFormat format) {
Expand All @@ -97,6 +99,8 @@ public class ApiClient {
private ApiClient(WebClient webClient, DateFormat format) {
this.webClient = webClient;
this.dateFormat = format;

init();
}

public DateFormat createDefaultDateFormat() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ private String collectionToString(Collection<? extends CharSequence> collection)
public ApiClient() {
this.dateFormat = createDefaultDateFormat();
this.webClient = buildWebClient(new ObjectMapper(), this.dateFormat);

init();
}

public ApiClient(ObjectMapper mapper, DateFormat format) {
Expand All @@ -97,6 +99,8 @@ public ApiClient(ObjectMapper mapper, DateFormat format) {
private ApiClient(WebClient webClient, DateFormat format) {
this.webClient = webClient;
this.dateFormat = format;

init();
}

public DateFormat createDefaultDateFormat() {
Expand Down