rename function to avoid confusion of function in parent class (#15775)

This commit is contained in:
William Cheng
2023-06-07 14:57:15 +08:00
committed by GitHub
parent 59ba00e1f3
commit 658c6eb567

View File

@@ -1092,7 +1092,7 @@ public class TypeScriptClientCodegen extends AbstractTypeScriptClientCodegen imp
return;
}
String[] parts = splitComposedType(type);
String[] parts = splitComposedTypes(type);
for (String s : parts) {
super.addImport(importsToBeAddedTo, s);
}
@@ -1105,7 +1105,7 @@ public class TypeScriptClientCodegen extends AbstractTypeScriptClientCodegen imp
* @param type String with composed types
* @return list of types
*/
protected String[] splitComposedType(String type) {
protected String[] splitComposedTypes(String type) {
return type.replace(" ", "").split("[|&<>]");
}
}