Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
60654349
Commit
60654349
authored
Jan 06, 2016
by
Joshua Humphries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fully qualify invocations of static methods on GeneratedMessage
parent
f3c75580
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
java_message.cc
src/google/protobuf/compiler/java/java_message.cc
+6
-6
No files found.
src/google/protobuf/compiler/java/java_message.cc
View file @
60654349
...
@@ -664,34 +664,34 @@ GenerateParseFromMethods(io::Printer* printer) {
...
@@ -664,34 +664,34 @@ GenerateParseFromMethods(io::Printer* printer) {
"}
\n
"
"}
\n
"
"public static $classname$ parseFrom(java.io.InputStream input)
\n
"
"public static $classname$ parseFrom(java.io.InputStream input)
\n
"
" throws java.io.IOException {
\n
"
" throws java.io.IOException {
\n
"
" return parseWithIOException(PARSER, input);"
" return
com.google.protobuf.GeneratedMessage.
parseWithIOException(PARSER, input);"
"}
\n
"
"}
\n
"
"public static $classname$ parseFrom(
\n
"
"public static $classname$ parseFrom(
\n
"
" java.io.InputStream input,
\n
"
" java.io.InputStream input,
\n
"
" com.google.protobuf.ExtensionRegistryLite extensionRegistry)
\n
"
" com.google.protobuf.ExtensionRegistryLite extensionRegistry)
\n
"
" throws java.io.IOException {
\n
"
" throws java.io.IOException {
\n
"
" return parseWithIOException(PARSER, input, extensionRegistry);"
" return
com.google.protobuf.GeneratedMessage.
parseWithIOException(PARSER, input, extensionRegistry);"
"}
\n
"
"}
\n
"
"public static $classname$ parseDelimitedFrom(java.io.InputStream input)
\n
"
"public static $classname$ parseDelimitedFrom(java.io.InputStream input)
\n
"
" throws java.io.IOException {
\n
"
" throws java.io.IOException {
\n
"
" return parseDelimitedWithIOException(PARSER, input);"
" return
com.google.protobuf.GeneratedMessage.
parseDelimitedWithIOException(PARSER, input);"
"}
\n
"
"}
\n
"
"public static $classname$ parseDelimitedFrom(
\n
"
"public static $classname$ parseDelimitedFrom(
\n
"
" java.io.InputStream input,
\n
"
" java.io.InputStream input,
\n
"
" com.google.protobuf.ExtensionRegistryLite extensionRegistry)
\n
"
" com.google.protobuf.ExtensionRegistryLite extensionRegistry)
\n
"
" throws java.io.IOException {
\n
"
" throws java.io.IOException {
\n
"
" return parseDelimitedWithIOException(PARSER, input, extensionRegistry);"
" return
com.google.protobuf.GeneratedMessage.
parseDelimitedWithIOException(PARSER, input, extensionRegistry);"
"}
\n
"
"}
\n
"
"public static $classname$ parseFrom(
\n
"
"public static $classname$ parseFrom(
\n
"
" com.google.protobuf.CodedInputStream input)
\n
"
" com.google.protobuf.CodedInputStream input)
\n
"
" throws java.io.IOException {
\n
"
" throws java.io.IOException {
\n
"
" return parseWithIOException(PARSER, input);"
" return
com.google.protobuf.GeneratedMessage.
parseWithIOException(PARSER, input);"
"}
\n
"
"}
\n
"
"public static $classname$ parseFrom(
\n
"
"public static $classname$ parseFrom(
\n
"
" com.google.protobuf.CodedInputStream input,
\n
"
" com.google.protobuf.CodedInputStream input,
\n
"
" com.google.protobuf.ExtensionRegistryLite extensionRegistry)
\n
"
" com.google.protobuf.ExtensionRegistryLite extensionRegistry)
\n
"
" throws java.io.IOException {
\n
"
" throws java.io.IOException {
\n
"
" return parseWithIOException(PARSER, input, extensionRegistry);"
" return
com.google.protobuf.GeneratedMessage.
parseWithIOException(PARSER, input, extensionRegistry);"
"}
\n
"
"}
\n
"
"
\n
"
,
"
\n
"
,
"classname"
,
name_resolver_
->
GetImmutableClassName
(
descriptor_
));
"classname"
,
name_resolver_
->
GetImmutableClassName
(
descriptor_
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment