Skip to content

Commit

Permalink
Tidy up lite gencode by adding newline.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 686279958
  • Loading branch information
mhansen authored and copybara-github committed Oct 15, 2024
1 parent 11b8c8c commit 3b2a608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/google/protobuf/compiler/java/lite/message.cc
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ void ImmutableMessageLiteGenerator::GenerateDynamicMethodNewBuildMessageInfo(
WriteIntToUtf16CharSequence(descriptor_->field_count(), &chars);

if (descriptor_->field_count() == 0) {
printer->Print("java.lang.Object[] objects = null;");
printer->Print("java.lang.Object[] objects = null;\n");
} else {
// A single array of all fields (including oneof, oneofCase, hasBits).
printer->Print("java.lang.Object[] objects = new java.lang.Object[] {\n");
Expand Down

0 comments on commit 3b2a608

Please sign in to comment.