GeezerVison is showing github.com — [composer][SampleCode]Update code mark for sample code snippet in Javadoc by summer-ji-eng · Pull Request #470 · googleapis/sdk-platform-java
This repository was archived by the owner on Oct 29, 2026. It is now read-only.
Conversation
We will use go/java-practices/javadoc recommended format for block-style code excerpts in Javadoc that is:
/**
* <p>Paragraph.
*
* <pre>{@code
* Your code here.
* Can include <angle brackets>.
* You can even include snippets that contain annotations, e.g.:
* @Override public String toString() { ... }
* }</pre>
*
* <p>Following paragraph.
*/
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
miraleung
left a comment
•
edited by summer-ji-eng
Loading
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that @ will need special handling, but feel free to tackle that separately.
For now, there are no sample code example use @.
I've added comment note to handle this case if future needs, LMK if you have further concern.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
summer-ji-eng
changed the title
[gapic][SampleCode]Update code mark for sample code snippet in Javadoc
[composer][SampleCode]Update code mark for sample code snippet in Javadoc
Nov 10, 2020
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…tor-java into sample_code_mark
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
1 more reviewer
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
cla: yes
This human has signed the Contributor License Agreement.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|