Fix broken javadoc generation for repeated enum values

pull/6818/head
ST-DDT 5 years ago committed by Adam Cozzette
parent fc7c65a258
commit 4252b7aff3
  1. 2
      src/google/protobuf/compiler/java/java_enum_field.cc

@ -656,7 +656,7 @@ void RepeatedImmutableEnumFieldGenerator::GenerateMembers(
" java.lang.Integer, $type$>($name$_, $name$_converter_);\n"
"}\n");
printer->Annotate("{", "}", descriptor_);
WriteFieldAccessorDocComment(printer, descriptor_, LIST_ADDER);
WriteFieldAccessorDocComment(printer, descriptor_, LIST_COUNT);
printer->Print(
variables_,
"$deprecation$public int ${$get$capitalized_name$Count$}$() {\n"

Loading…
Cancel
Save