Skip to content

Commit 2936558

Browse files
committed
remove CoreConfiguration Builder
1 parent cbffe78 commit 2936558

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/java/ApiClient.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public class ApiClient {
143143
*/
144144
public ApiClient() throws IOException {
145145
{{! BEGIN - replace basic constructur }}
146-
this(new CoreConfiguration.Builder().build());
146+
this(new CoreConfiguration());
147147
{{! END - replace basic constructur }}
148148
}
149149

templates/java/api.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public class {{classname}} {
6363
6464
{{! BEGIN - Remove default constructor and replaced with constructor which uses CoreConfiguration }}
6565
public {{classname}}() throws IOException {
66-
this(new CoreConfiguration.Builder().build());
66+
this(new CoreConfiguration());
6767
}
6868

6969
public {{classname}}(CoreConfiguration config) throws IOException {

0 commit comments

Comments
 (0)