Remove extra semicolon in primitive repeated field init code.

pull/3335/head
liujisi@google.com 14 years ago
parent 5325de1808
commit 295a096023
  1. 2
      src/google/protobuf/compiler/java/java_primitive_field.cc

@ -168,7 +168,7 @@ void SetPrimitiveVariables(const FieldDescriptor* descriptor,
(*variables)["field_type"] = (*variables)["type"];
(*variables)["field_list_type"] = "java.util.List<" +
(*variables)["boxed_type"] + ">";
(*variables)["empty_list"] = "java.util.Collections.emptyList();";
(*variables)["empty_list"] = "java.util.Collections.emptyList()";
(*variables)["default"] = DefaultValue(descriptor);
(*variables)["default_init"] = IsDefaultValueJavaDefault(descriptor) ?
"" : ("= " + DefaultValue(descriptor));

Loading…
Cancel
Save