Java: return this.CONSTRUCTOR from getConstructor.

GitOrigin-RevId: 152401286b24ec03a25339f3a704cbe2923e9b44
This commit is contained in:
levlam 2018-06-24 21:22:51 +03:00
parent 75a577e8a5
commit 231c00ed9f

View File

@ -337,9 +337,7 @@ std::string TD_TL_writer_java::gen_get_id(const std::string &class_name, std::in
";\n\n" ";\n\n"
" @Override\n" " @Override\n"
" public int getConstructor() {\n" " public int getConstructor() {\n"
" return " + " return this.CONSTRUCTOR;\n"
int_to_string(id) +
";\n"
" }\n"; " }\n";
} }