Fixed XmlRpcRequest.ArgType enum name in Java wrapper + added missing sed to migration

This commit is contained in:
Sylvain Berfini 2017-10-17 19:00:07 +02:00
parent f738e9bd2d
commit b83f1933c4
2 changed files with 3 additions and 0 deletions

View file

@ -195,6 +195,8 @@ class JavaTranslator(object):
return 'jint'
if _type.desc.name.to_camel_case() == "XmlRpcStatus":
return "XmlRpcRequest.Status"
elif _type.desc.name.to_camel_case() == "XmlRpcArgType":
return "XmlRpcRequest.ArgType"
name = _type.desc.name.to_camel_case()
if name in ENUMS_LIST:
className = ENUMS_LIST[name]

View file

@ -195,6 +195,7 @@ s/isVCardSupported()/vcardSupported()/g; \
s/getPresenceModelForUri(/getPresenceModelForUriOrTel(/g; \
s/setAvpfRRInterval(/setAvpfRrInterval(/g; \
s/getAvpfRRInterval(/getAvpfRrInterval(/g; \
s/hasBuiltInEchoCanceler()/hasBuiltinEchoCanceller()/g; \
s/getProxy()/getServerAddr()/g; \
s/setProxy(/setServerAddr(/g; \
s/setIdentity(/setIdentityAddress(/g; \