Commit 295a0960 authored by liujisi@google.com's avatar liujisi@google.com

Remove extra semicolon in primitive repeated field init code.

parent 5325de18
...@@ -168,7 +168,7 @@ void SetPrimitiveVariables(const FieldDescriptor* descriptor, ...@@ -168,7 +168,7 @@ void SetPrimitiveVariables(const FieldDescriptor* descriptor,
(*variables)["field_type"] = (*variables)["type"]; (*variables)["field_type"] = (*variables)["type"];
(*variables)["field_list_type"] = "java.util.List<" + (*variables)["field_list_type"] = "java.util.List<" +
(*variables)["boxed_type"] + ">"; (*variables)["boxed_type"] + ">";
(*variables)["empty_list"] = "java.util.Collections.emptyList();"; (*variables)["empty_list"] = "java.util.Collections.emptyList()";
(*variables)["default"] = DefaultValue(descriptor); (*variables)["default"] = DefaultValue(descriptor);
(*variables)["default_init"] = IsDefaultValueJavaDefault(descriptor) ? (*variables)["default_init"] = IsDefaultValueJavaDefault(descriptor) ?
"" : ("= " + DefaultValue(descriptor)); "" : ("= " + DefaultValue(descriptor));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment