mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
THRIFT-2193 Java code generator emits spurious semicolon when deep copying binary data
Patch: Andrew Gaul & Jens Geyer
This commit is contained in:
parent
4ccc24f621
commit
b54fbd32cf
@ -3997,7 +3997,7 @@ void t_java_generator::generate_deep_copy_non_container(ofstream& out, std::stri
|
||||
(void) dest_name;
|
||||
if (type->is_base_type() || type->is_enum() || type->is_typedef()) {
|
||||
if (((t_base_type*)type)->is_binary()) {
|
||||
out << "org.apache.thrift.TBaseHelper.copyBinary(" << source_name << ");" << endl;
|
||||
out << "org.apache.thrift.TBaseHelper.copyBinary(" << source_name << ")";
|
||||
} else {
|
||||
// everything else can be copied directly
|
||||
out << source_name;
|
||||
|
Loading…
Reference in New Issue
Block a user