Skip to content

Commit

Permalink
remove duplicated has$field$ method for oneof
Browse files Browse the repository at this point in the history
  • Loading branch information
yangjian authored and stanley-cheung committed Mar 28, 2019
1 parent aadfb92 commit ffe8e9c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions javascript/net/grpc/web/grpc_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -879,9 +879,6 @@ void PrintProtoDtsMessage(Printer *printer, const Descriptor *desc,
"index?: number): $js_field_type$;\n");
}
}
if (field->containing_oneof() != nullptr) {
printer->Print(vars, "has$js_field_name$(): boolean;\n");
}

printer->Print("\n");
}
Expand Down

0 comments on commit ffe8e9c

Please sign in to comment.