|
@@ -664,34 +664,34 @@ GenerateParseFromMethods(io::Printer* printer) {
|
|
|
"}\n"
|
|
|
"public static $classname$ parseFrom(java.io.InputStream input)\n"
|
|
|
" throws java.io.IOException {\n"
|
|
|
- " return parseWithIOException(PARSER, input);"
|
|
|
+ " return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);"
|
|
|
"}\n"
|
|
|
"public static $classname$ parseFrom(\n"
|
|
|
" java.io.InputStream input,\n"
|
|
|
" com.google.protobuf.ExtensionRegistryLite extensionRegistry)\n"
|
|
|
" throws java.io.IOException {\n"
|
|
|
- " return parseWithIOException(PARSER, input, extensionRegistry);"
|
|
|
+ " return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry);"
|
|
|
"}\n"
|
|
|
"public static $classname$ parseDelimitedFrom(java.io.InputStream input)\n"
|
|
|
" throws java.io.IOException {\n"
|
|
|
- " return parseDelimitedWithIOException(PARSER, input);"
|
|
|
+ " return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);"
|
|
|
"}\n"
|
|
|
"public static $classname$ parseDelimitedFrom(\n"
|
|
|
" java.io.InputStream input,\n"
|
|
|
" com.google.protobuf.ExtensionRegistryLite extensionRegistry)\n"
|
|
|
" throws java.io.IOException {\n"
|
|
|
- " return parseDelimitedWithIOException(PARSER, input, extensionRegistry);"
|
|
|
+ " return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input, extensionRegistry);"
|
|
|
"}\n"
|
|
|
"public static $classname$ parseFrom(\n"
|
|
|
" com.google.protobuf.CodedInputStream input)\n"
|
|
|
" throws java.io.IOException {\n"
|
|
|
- " return parseWithIOException(PARSER, input);"
|
|
|
+ " return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);"
|
|
|
"}\n"
|
|
|
"public static $classname$ parseFrom(\n"
|
|
|
" com.google.protobuf.CodedInputStream input,\n"
|
|
|
" com.google.protobuf.ExtensionRegistryLite extensionRegistry)\n"
|
|
|
" throws java.io.IOException {\n"
|
|
|
- " return parseWithIOException(PARSER, input, extensionRegistry);"
|
|
|
+ " return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input, extensionRegistry);"
|
|
|
"}\n"
|
|
|
"\n",
|
|
|
"classname", name_resolver_->GetImmutableClassName(descriptor_));
|