Skip to content

Commit

Permalink
Fix broken javadoc generation for repeated enum values
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT authored and acozzette committed Oct 28, 2019
1 parent fc7c65a commit 4252b7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/google/protobuf/compiler/java/java_enum_field.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4252b7a

Please sign in to comment.