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
351a7cdf
Unverified
Commit
351a7cdf
authored
Jun 26, 2019
by
ST-DDT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Follow line length guidelines
parent
5af81a44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
java_doc_comment.cc
src/google/protobuf/compiler/java/java_doc_comment.cc
+6
-6
No files found.
src/google/protobuf/compiler/java/java_doc_comment.cc
View file @
351a7cdf
...
...
@@ -271,13 +271,13 @@ void WriteFieldEnumValueAccessorDocComment(io::Printer* printer,
// Should never happen
break
;
case
LIST_GETTER
:
printer
->
Print
(
" * @return A list containing the enum values for
$name$(s).
\n
"
,
"name"
,
field
->
camelcase_name
());
printer
->
Print
(
" * @return A list containing the enum values for
"
"
$name$(s).
\n
"
,
"
name"
,
field
->
camelcase_name
());
break
;
case
LIST_INDEXED_GETTER
:
printer
->
Print
(
" * @param index The index of the value to return.
\n
"
);
printer
->
Print
(
" * @return The enum value of the $name$ at the given
index.
\n
"
,
"name"
,
field
->
camelcase_name
());
printer
->
Print
(
" * @return The enum value of the $name$ at the given
"
"
index.
\n
"
,
"
name"
,
field
->
camelcase_name
());
break
;
case
LIST_INDEXED_SETTER
:
printer
->
Print
(
" * @param index The index to set the value at.
\n
"
);
...
...
@@ -289,8 +289,8 @@ void WriteFieldEnumValueAccessorDocComment(io::Printer* printer,
"name"
,
field
->
camelcase_name
());
break
;
case
LIST_MULTI_ADDER
:
printer
->
Print
(
" * @param values The enum values of the $name$(s) to
add.
\n
"
,
"name"
,
field
->
camelcase_name
());
printer
->
Print
(
" * @param values The enum values of the $name$(s) to
"
"
add.
\n
"
,
"
name"
,
field
->
camelcase_name
());
break
;
}
if
(
builder
)
{
...
...
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