Merge pull request #4305 from wing328/android_object_reserved_word

[Android] add Object as reserved keyword in Android generator
This commit is contained in:
wing328 2016-12-01 19:29:43 +08:00 committed by GitHub
commit fdb6d3020c

View File

@ -54,6 +54,9 @@ public class AndroidClientCodegen extends DefaultCodegen implements CodegenConfi
"localVarFormParams", "localVarContentTypes", "localVarContentType",
"localVarResponse", "localVarBuilder", "authNames", "basePath", "apiInvoker",
// due to namespace collusion
"Object",
// android reserved words
"abstract", "continue", "for", "new", "switch", "assert",
"default", "if", "package", "synchronized", "boolean", "do", "goto", "private",