File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
src/main/resources/templates/scala-lang Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -14,16 +14,14 @@ import ${import}._
1414 <#list enumImportItSelfInScala as enum >
1515 <#if MapperUtil.isScalaCollection(param.type) >
1616 <#if enum == param.type?replace("Seq[", "")?replace(" ]", "")>
17- <#if waitImports?seq_contains(enum) >
18- <#else >
19- <#assign waitImports = waitImports + [param.type ] />
17+ <#if !waitImports?seq_contains(enum) >
18+ <#assign waitImports = waitImports + [enum ] />
2019 </#if >
2120 </#if >
2221 <#else >
2322 <#if enum == param.type >
24- <#if waitImports?seq_contains(enum) >
25- <#else >
26- <#assign waitImports = waitImports + [param.type ] />
23+ <#if !waitImports?seq_contains(enum) >
24+ <#assign waitImports = waitImports + [enum ] />
2725 </#if >
2826 </#if >
2927 </#if >
You can’t perform that action at this time.
0 commit comments