Skip to content

Commit 5f0f974

Browse files
committed
Fix compilation of enum constructor in templates
1 parent f7c6338 commit 5f0f974

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/openapi-generator/src/main/resources/Java/libraries/resttemplate/ApiClient.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
9595
9696
protected final String separator;
9797
98-
protected CollectionFormat(String separator) {
98+
CollectionFormat(String separator) {
9999
this.separator = separator;
100100
}
101101

modules/openapi-generator/src/main/resources/Java/libraries/webclient/ApiClient.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
9090
CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null);
9191
9292
protected final String separator;
93-
protected CollectionFormat(String separator) {
93+
CollectionFormat(String separator) {
9494
this.separator = separator;
9595
}
9696

0 commit comments

Comments
 (0)