Bumped up version and polished
This commit is contained in:
committed by
Marcin Grzejszczak
parent
96525b2ad5
commit
d69670db68
@@ -63,7 +63,7 @@ class MethodBuilder {
|
||||
|
||||
private static String methodName(ContractMetadata contract, File stubsFile, Contract stubContent) {
|
||||
if (stubContent.name) {
|
||||
return NamesUtil.camelCase(stubContent.name)
|
||||
return NamesUtil.camelCase(NamesUtil.convertIllegalPackageChars(stubContent.name))
|
||||
} else if (contract.convertedContract.size() > 1) {
|
||||
int index = contract.convertedContract.findIndexOf { it == stubContent}
|
||||
return "${camelCasedMethodFromFileName(stubsFile)}_${index}"
|
||||
|
||||
Reference in New Issue
Block a user