Skip to content

docs(java-showcase): fix stale retry links, legacy setup URLs, and broken Javadoc snippets - #87

Open
lqiu96 wants to merge 1 commit into
mainfrom
docs/gapic-0j-showcase-snippets
Open

lqiu96 wants to merge 1 commit into
mainfrom
docs/gapic-0j-showcase-snippets

Conversation

@lqiu96

@lqiu96 lqiu96 commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Summary

Covers GAPIC-0j (Wave 1, showcase portion).

Cleans up stale Javadoc links, raw Markdown syntax, legacy cloud.google.com setup URLs, and broken Javadoc snippets across sdk-platform-java/java-showcase-3.25.8/gapic-showcase and sdk-platform-java/java-showcase-3.21.0/gapic-showcase (comment-only changes; protobuf 3.25.8 / 3.21.0 generated code and runtime logic are untouched).

Changes (both java-showcase-3.25.8 and java-showcase-3.21.0)

  • Replace stale GitHub [Client Side Retry Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) raw Markdown links across all 24 *Settings.java and *StubSettings.java files with <p> HTML anchors to https://docs.cloud.google.com/java/docs/client-retries.
  • Replace raw Markdown [RetrySettings](https://cloud.google.com/...) links with {@link com.google.api.gax.retrying.RetrySettings} and update the retry defaults bullet.
  • Fix broken LRO settings Javadoc snippets in EchoSettings, EchoStubSettings, MessagingSettings, and MessagingStubSettings (OperationalTimedPollAlgorithm -> OperationTimedPollAlgorithm, hardcoded .createClusterOperationSettings() -> .waitOperationSettings() / .searchBlurbsOperationSettings(), and calling settingsBuilder.build()).
  • Update legacy https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library URLs to https://docs.cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library.
  • Fix raw `OperationFuture` backticks, obsolete *Client resource-name prose, undeclared myCredentials/myEndpoint header snippets (adding shutdown close()), and package-info.java "interfaces provided" / ASCII === headings.

Cross-Reference Note (gax-java)

The two adjacent gax-java streaming Javadoc snippets mentioned in GAPIC-0j (ServerStreamingCallSettings.java and BidiStream.java) are intentionally not modified in this PR — they are owned by GAX-0c to avoid overlap across PRs.

Verification

  • mvn -f sdk-platform-java/java-showcase-3.25.8/gapic-showcase/pom.xml fmt:check -Dfmt.skip=false (JDK 21): 37 files, 0 non-complying
  • mvn -f sdk-platform-java/java-showcase-3.21.0/gapic-showcase/pom.xml fmt:check -Dfmt.skip=false (JDK 21): 107 files, 0 non-complying
  • mvn -f sdk-platform-java/java-showcase-3.25.8/pom.xml test (JDK 25): 432 tests run, 0 failures, 0 errors
  • mvn -f sdk-platform-java/java-showcase-3.21.0/pom.xml test (JDK 25): 432 tests run, 0 failures, 0 errors
  • JDK 25 javadoc -Xdoclint:all,-missing: 0 errors, 0 warnings across package-info.java and all 12 *Settings/*StubSettings files in both java-showcase-3.25.8 and java-showcase-3.21.0
  • JDK 25 javac: verified all 4 updated LRO settings snippets compile cleanly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant