Simplify Java getConstructor.

GitOrigin-RevId: c26fe30c837a09e50810b86d407ba14fe906afa0
This commit is contained in:
levlam 2018-06-25 17:30:15 +03:00
parent 2fdf013504
commit fa80e98227

View File

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