GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

@summer-ji-eng

@summer-ji-eng summer-ji-eng commented Nov 9, 2020

Copy link
Copy Markdown
Contributor

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.

All reactions
@summer-ji-eng
Update code mark for sample code snippet in Javadoc
bd9fe65
@summer-ji-eng
summer-ji-eng requested review from miraleung and xiaozhenliu-gg5 November 9, 2020 20:20
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 9, 2020
summer-ji-eng added 2 commits November 9, 2020 14:57
@summer-ji-eng
safe remove html escape for this style
ae72c0f
@summer-ji-eng
add unit test for keeping formatted code snippet in the code mark
9abb7b5
miraleung
miraleung approved these changes Nov 10, 2020
View reviewed changes

@miraleung miraleung left a comment •
edited by summer-ji-eng
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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.

All reactions
miraleung
miraleung suggested changes Nov 10, 2020
View reviewed changes
Comment thread src/test/java/com/google/api/generator/engine/ast/JavaDocCommentTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/test/java/com/google/api/generator/engine/ast/JavaDocCommentTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@summer-ji-eng
Add comment and fix name
b6042a9
@summer-ji-eng
summer-ji-eng requested a review from miraleung November 10, 2020 08:51
@summer-ji-eng 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
summer-ji-eng added 5 commits November 10, 2020 14:40
@summer-ji-eng
Merge branch 'master' into sample_code_mark
622c1f1
@summer-ji-eng
Merge branch 'master' into sample_code_mark
c47c820
@summer-ji-eng
merge two unit test
3b9d061
@summer-ji-eng
add compare unit test
203ac60
@summer-ji-eng
Merge branch 'master' into sample_code_mark
9e84e75
miraleung
miraleung suggested changes Nov 12, 2020
View reviewed changes
Comment thread src/test/java/com/google/api/generator/engine/ast/JavaDocCommentTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/test/java/com/google/api/generator/engine/ast/JavaDocCommentTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

summer-ji-eng added 4 commits November 12, 2020 15:56
@summer-ji-eng
Merge branch 'master' into sample_code_mark
ef10a2c
@summer-ji-eng
Merge branch 'master' of github.com:googleapis/gapic-generator-java i…
08753d2
…nto sample_code_mark
@summer-ji-eng
polish the unit test
563822d
@summer-ji-eng
Merge branch 'sample_code_mark' of github.com:googleapis/gapic-genera…
a64b6e8
…tor-java into sample_code_mark
@summer-ji-eng
summer-ji-eng requested a review from miraleung November 13, 2020 00:10
@summer-ji-eng
Merge branch 'master' into sample_code_mark
a55edef
miraleung
miraleung suggested changes Nov 13, 2020
View reviewed changes
Comment thread src/test/java/com/google/api/generator/engine/ast/JavaDocCommentTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

summer-ji-eng added 2 commits November 12, 2020 19:48
@summer-ji-eng
Merge branch 'master' into sample_code_mark
6faee04
@summer-ji-eng
fix the unit test
fc1302c
@summer-ji-eng
summer-ji-eng requested a review from miraleung November 13, 2020 03:57
@summer-ji-eng
Merge branch 'master' into sample_code_mark
be14e4c
miraleung
miraleung approved these changes Nov 13, 2020
View reviewed changes
@summer-ji-eng
Merge branch 'master' into sample_code_mark
147cbf3
@summer-ji-eng
summer-ji-eng merged commit a1cea1a into master Nov 14, 2020
@summer-ji-eng
summer-ji-eng deleted the sample_code_mark branch November 14, 2020 01:17
suztomo pushed a commit that referenced this pull request Dec 16, 2022
@renovate-bot
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…
91d1069
…1.3 (#470)

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/googleapis/java-cloud-bom)) | `26.1.2` -> `26.1.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/compatibility-slim/26.1.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/26.1.3/confidence-slim/26.1.2)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-iam).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMTkuMSIsInVwZGF0ZWRJblZlciI6IjMyLjIxOS4xIn0=-->
suztomo pushed a commit that referenced this pull request Dec 16, 2022
@renovate-bot
deps: update dependency com.google.protobuf:protobuf-java to v3.21.9 (#…
78e8d6b
…470)

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.protobuf:protobuf-java](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | `3.21.8` -> `3.21.9` | [![age](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.9/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.9/compatibility-slim/3.21.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.protobuf:protobuf-java/3.21.9/confidence-slim/3.21.8)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>protocolbuffers/protobuf</summary>

### [`v3.21.9`](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.8...v3.21.9)

[Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.21.8...v3.21.9)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-common-protos).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xLjUiLCJ1cGRhdGVkSW5WZXIiOiIzNC42LjEifQ==-->
suztomo pushed a commit that referenced this pull request Dec 16, 2022
@release-please
chore(main): release 2.10.0 (#457)
95ffb96
🤖 I have created a release *beep* *boop*
---


## [2.10.0](https://togithub.com/googleapis/java-common-protos/compare/v2.9.6...v2.10.0) (2022-11-04)


### Features

* Add FirstPartyAppMetadata to the BigQueryAuditMetadata proto, it contains metadata about requests originating from Google apps, such as Google Sheets ([db1184d](https://togithub.com/googleapis/java-common-protos/commit/db1184dea0e8d97fff18ad5170a26bd947c07c2a))
* Add PolicyViolation to the AuditLog proto, this will only be present when access is denied due to Organization Policy. It describes why access is denied ([#456](https://togithub.com/googleapis/java-common-protos/issues/456)) ([db1184d](https://togithub.com/googleapis/java-common-protos/commit/db1184dea0e8d97fff18ad5170a26bd947c07c2a))
* Added new events to BigQueryAuditMetadata such as UnlinkDataset and RowAccessPolicyCreation ([db1184d](https://togithub.com/googleapis/java-common-protos/commit/db1184dea0e8d97fff18ad5170a26bd947c07c2a))


### Documentation

* Updated multiple comments ([db1184d](https://togithub.com/googleapis/java-common-protos/commit/db1184dea0e8d97fff18ad5170a26bd947c07c2a))


### Dependencies

* Update dependency com.google.protobuf:protobuf-bom to v3.21.8 ([#461](https://togithub.com/googleapis/java-common-protos/issues/461)) ([d24d436](https://togithub.com/googleapis/java-common-protos/commit/d24d436950cab888319a41e5d262f87e4b0ef816))
* Update dependency com.google.protobuf:protobuf-bom to v3.21.9 ([#469](https://togithub.com/googleapis/java-common-protos/issues/469)) ([ece29bf](https://togithub.com/googleapis/java-common-protos/commit/ece29bfd7e853b0ea224807042ae532857283ed8))
* Update dependency com.google.protobuf:protobuf-java to v3.21.8 ([#462](https://togithub.com/googleapis/java-common-protos/issues/462)) ([fda194a](https://togithub.com/googleapis/java-common-protos/commit/fda194af95a03a34a678dbd4a290339c77fed1bb))
* Update dependency com.google.protobuf:protobuf-java to v3.21.9 ([#470](https://togithub.com/googleapis/java-common-protos/issues/470)) ([78e8d6b](https://togithub.com/googleapis/java-common-protos/commit/78e8d6bb31b07d1996bf1ed3c54dbe6e716d7173))
* Update dependency io.grpc:grpc-bom to v1.50.0 ([#458](https://togithub.com/googleapis/java-common-protos/issues/458)) ([79528b0](https://togithub.com/googleapis/java-common-protos/commit/79528b0b577b69a9c1d7cf545ed7e02d6ecde7ee))
* Update dependency io.grpc:grpc-bom to v1.50.2 ([#463](https://togithub.com/googleapis/java-common-protos/issues/463)) ([e0eed02](https://togithub.com/googleapis/java-common-protos/commit/e0eed0244e2a22c82dc6d3d5570726957984440f))
* Update dependency io.grpc:grpc-protobuf to v1.50.0 ([#459](https://togithub.com/googleapis/java-common-protos/issues/459)) ([18f8cb7](https://togithub.com/googleapis/java-common-protos/commit/18f8cb76070cd0f8b9002f64c4ba573fba9ea6f9))
* Update dependency io.grpc:grpc-protobuf to v1.50.2 ([#464](https://togithub.com/googleapis/java-common-protos/issues/464)) ([f267fa3](https://togithub.com/googleapis/java-common-protos/commit/f267fa376dff6f644935f0e2acb666ed4ffea78e))
* Update dependency io.grpc:grpc-stub to v1.50.0 ([#460](https://togithub.com/googleapis/java-common-protos/issues/460)) ([4ead415](https://togithub.com/googleapis/java-common-protos/commit/4ead4156da7657a451ac02e19d241b1ae603354a))
* Update dependency io.grpc:grpc-stub to v1.50.2 ([#465](https://togithub.com/googleapis/java-common-protos/issues/465)) ([9021089](https://togithub.com/googleapis/java-common-protos/commit/9021089f96d8d657efc99739ac9af1748133fbe6))

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
suztomo pushed a commit that referenced this pull request Mar 21, 2023
@renovate-bot
deps: update iam.version to v1.1.1 (#470)
217b807
suztomo pushed a commit that referenced this pull request Mar 21, 2023
@release-please
chore: release 2.3.0 (#480)
2d05f56
🤖 I have created a release \*beep\* \*boop\*
---
## [2.3.0](https://www.github.com/googleapis/java-shared-dependencies/compare/2.2.1...v2.3.0) (2021-09-22)


### Dependencies

* keep protobuf at 3.17.3 (not the latest 3.18.0) ([#476](https://www.github.com/googleapis/java-shared-dependencies/issues/476)) ([c15a891](https://www.github.com/googleapis/java-shared-dependencies/commit/c15a89143397290563be82eb17ccd65e82904a49))
* update gax.version to v2.5.0 ([#479](https://www.github.com/googleapis/java-shared-dependencies/issues/479)) ([2cad3ca](https://www.github.com/googleapis/java-shared-dependencies/commit/2cad3ca09bf5086745ce57baeee380a1bacc9ae2))
* update google.core.version to v2.1.4 ([#473](https://www.github.com/googleapis/java-shared-dependencies/issues/473)) ([0fb46e8](https://www.github.com/googleapis/java-shared-dependencies/commit/0fb46e85a8f1a2d6d074bf0444bdc98710cbff49))
* update google.core.version to v2.1.6 ([#478](https://www.github.com/googleapis/java-shared-dependencies/issues/478)) ([906528d](https://www.github.com/googleapis/java-shared-dependencies/commit/906528def0a60b8fdf9c97ad6e544a24990a428b))
* update iam.version to v1.1.1 ([#470](https://www.github.com/googleapis/java-shared-dependencies/issues/470)) ([217b807](https://www.github.com/googleapis/java-shared-dependencies/commit/217b8078426930aca4b7542a76398f8f66743f65))
* update iam.version to v1.1.2 ([#472](https://www.github.com/googleapis/java-shared-dependencies/issues/472)) ([d8de9b8](https://www.github.com/googleapis/java-shared-dependencies/commit/d8de9b86a46fff9ece8effb4f747fb32b6921fb9))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
suztomo pushed a commit that referenced this pull request Mar 21, 2023
@release-please
chore: release 1.95.2-SNAPSHOT (#470)
dfa240e
🤖 I have created a release \*beep\* \*boop\*
---
### Updating meta-information for bleeding-edge SNAPSHOT release.
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@xiaozhenliu-gg5 xiaozhenliu-gg5 Awaiting requested review from xiaozhenliu-gg5
1 more reviewer
@miraleung miraleung miraleung approved these changes
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.

Projects

None yet

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.

2 participants

@summer-ji-eng @miraleung
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.