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
295a0960
Commit
295a0960
authored
Jul 05, 2011
by
liujisi@google.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove extra semicolon in primitive repeated field init code.
parent
5325de18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
java_primitive_field.cc
src/google/protobuf/compiler/java/java_primitive_field.cc
+1
-1
No files found.
src/google/protobuf/compiler/java/java_primitive_field.cc
View file @
295a0960
...
@@ -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
));
...
...
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