| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| * acknowledge, as returned in {@link ReceivedMessage#ackId()} by {@link #pull(String, int)} and | ||
| * {@link #pullAsync(String, int)}. | ||
| * | ||
| * @param subscription the subscription whose messages must be acknowledged |
|
Once I understand (or get feedback from JJ or Arie) the javadoc story for the repo, I expect to give quite a bit of feedback. The code and the testing look ok, but I want to spend a few minutes at an earlier time of day re-reviewing to make sure that I believe your tests actually cover things and are helpful. |
Sorry, something went wrong.
|
I think so far we were careful to follow the correct Javadoc guidlines for structure (spaces, tag ordering) and rules (punctuation, case,..). As for the descriptions, I think the focus was on clarity which in some BTW, Looking at the generated Javadoc it looks like @param descriptions are not enabled. |
Sorry, something went wrong.
Arie, what do you mean with this? |
Sorry, something went wrong.
|
Our internal guidelines specify that it should be a fragment, not a sentence and that it's ok to not use @param if you mention the value in the paragraph. It also specifies fewer words (ie. fragments) are better as long as it's clear. So, I'm going to suggest a few re-wordings to be simpler - we won't go through and change existing stuff, but I think being concise is better for our users. |
Sorry, something went wrong.
|
Not to be picky but let me clarify. Fragments are sequences of words that look like a sentence but are not. The difference from a sentence is that fragments are allowed to contain no independent clauses. An independent clause is a sequence of words that contains a subject and a verb and makes sense by itself (extrapolated from the context). Acknowledges the given messages for the provided subscription. is already a fragment (it's missing the subject). @lesv suggestion (Acknowledges given messages for provided subscription.) simply removes the articles but does not affect its fragment nature. For what concerns @param descriptions, according to Oracle's guide, they should start with a noun (hence the suggested @param subscription whose messages are being acknowledged is wrong), possibly preceded by an article. I don't mind applying changes (even project-wide) if that improve docs readability I just doubt that removing some articles or conjunctions would help users. |
Sorry, something went wrong.
|
Yep - I agree - It's what I've been pondering. I do dislike several mentions of the same thing for the future. LGTM |
Sorry, something went wrong.
🤖 I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ## [4.9.0](https://togithub.com/googleapis/java-dialogflow/compare/v4.8.7...v4.9.0) (2022-10-05) ### Features * Add Agent Assist Summarization API (https://cloud.google.com/agent-assist/docs/summarization) ([#1026](https://togithub.com/googleapis/java-dialogflow/issues/1026)) ([adbb984](https://togithub.com/googleapis/java-dialogflow/commit/adbb9848a476b55765c03972321203b9e7c92d84)) ### Dependencies * Update dependency com.google.cloud:google-cloud-core to v2.8.18 ([#1027](https://togithub.com/googleapis/java-dialogflow/issues/1027)) ([d3f4be6](https://togithub.com/googleapis/java-dialogflow/commit/d3f4be67ff462faadffe1a8acc550e75f0261019)) * Update dependency com.google.cloud:google-cloud-core to v2.8.19 ([#1029](https://togithub.com/googleapis/java-dialogflow/issues/1029)) ([b3f8f43](https://togithub.com/googleapis/java-dialogflow/commit/b3f8f43d46763906006958836da6f50637285b17)) * Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.0.4 ([#1031](https://togithub.com/googleapis/java-dialogflow/issues/1031)) ([0db0fc8](https://togithub.com/googleapis/java-dialogflow/commit/0db0fc8f9f8dd9a8cb47dac78ebf9878e7f5afcd)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
…s#1687) (googleapis#1027) * chore(java): add a note in README for migrated split repos Disable renovate bot and flaky bot for split repositories that have moved to the Java monorepo. The Java monorepo will pass the "monorepo=True" parameter to java.common_templates method in its owlbot.py files so that the migration note will not appear in the README in the monorepo. Co-authored-by: Jeff Ching <chingor@google.com> Source-Link: https://togithub.com/googleapis/synthtool/commit/d4b291604f148cde065838c498bc8aa79b8dc10e Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:edae91ccdd2dded2f572ec341a768ad180305a3e8fbfd93064b28e237d35920a
Source-Link: googleapis/synthtool@fbc8bfe Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:e76136cc48f90aa19ba29cdfbd4002111467e44a1c9d905867d98dafafbd03bb Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Ben Creech <bpcreech@google.com>
…logback to v0.130.6-alpha (#1027) * chore(deps): update dependency com.google.cloud:google-cloud-logging-logback to v0.130.6-alpha * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
…e to v2.14.1 (#1027) * chore(deps): update dependency com.google.cloud:google-cloud-datastore to v2.14.1 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Ben Creech <bpcreech@google.com>
🤖 I have created a release *beep* *boop* --- ## [2.7.12](https://togithub.com/googleapis/java-spanner-jdbc/compare/v2.7.11...v2.7.12) (2022-10-27) ### Bug Fixes * **java:** Initialize classes at build-time to address native image 22.2.0 issues ([googleapis#1026](https://togithub.com/googleapis/java-spanner-jdbc/issues/1026)) ([d5e4cb6](https://togithub.com/googleapis/java-spanner-jdbc/commit/d5e4cb6c2feea59cbc568e67193eb31b17e98873)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
| Back | FazBrowse Home | New Git URL |
This PR implements ack and nack methods, adds javadoc and unit tests. System tests will come as soon as pull methods are implemented.