Skip to content

docs: fix broken multiline, varargs, and malformed Javadoc links - #15352

Draft
lqiu96 wants to merge 2 commits into
googleapis:mainfrom
lqiu96:fix/cloud-sdk-javadoc-links
Draft

lqiu96 wants to merge 2 commits into
googleapis:mainfrom
lqiu96:fix/cloud-sdk-javadoc-links

Conversation

@lqiu96

@lqiu96 lqiu96 commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Fixes broken multiline {@link} / {@linkplain} tags, varargs (...) overload references, and malformed Javadoc link tags across sdk-platform-java, java-datastore, java-dns, java-logging, and java-translate (21 files) so Cloud Reference Docs (java-docfx-doclet) and standard Javadoc resolve each link cleanly while complying with google-java-format 1.25.2.

Related: b/372513154, #15350

@lqiu96
lqiu96 requested review from a team as code owners December 1, 2026 21:15
@lqiu96
lqiu96 marked this pull request as draft December 1, 2026 21:17

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request performs extensive Javadoc cleanups across multiple Google Cloud Java client libraries, primarily focusing on simplifying class references, updating varargs notation to array notation in {@link} tags, and removing redundant parentheses. The review feedback points out a few minor formatting inconsistencies where spaces were omitted after commas in the newly updated Javadoc links within BigtableTableAdminClient, CloudSpannerJdbcPartitionedQueryResultSet, and Connection, and suggests adding them to maintain readability.

* com.google.cloud.bigtable.admin.v2.BigtableTableAdminClientV2#waitForConsistencyAsync(com.google.bigtable.admin.v2.TableName,
* String)}.
* BigtableTableAdminClientV2#waitForConsistencyAsync(String, String)} or {@link
* BigtableTableAdminClientV2#waitForConsistencyAsync(com.google.bigtable.admin.v2.TableName,String)}.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For consistency and readability, please add a space after the comma in the Javadoc link parameter list.

Suggested change
* BigtableTableAdminClientV2#waitForConsistencyAsync(com.google.bigtable.admin.v2.TableName,String)}.
* BigtableTableAdminClientV2#waitForConsistencyAsync(com.google.bigtable.admin.v2.TableName, String)}.

* or for {@link CloudSpannerJdbcPreparedStatement#runPartitionedQuery(PartitionOptions,
* QueryOption...)}.
* or for {@link
* CloudSpannerJdbcPreparedStatement#runPartitionedQuery(PartitionOptions,QueryOption[])}.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For consistency and readability, please add a space after the comma in the Javadoc link parameter list.

Suggested change
* CloudSpannerJdbcPreparedStatement#runPartitionedQuery(PartitionOptions,QueryOption[])}.
* CloudSpannerJdbcPreparedStatement#runPartitionedQuery(PartitionOptions, QueryOption[])}.

* Enable data boost for partitioned queries. See also {@link #partitionQuery(Statement,
* PartitionOptions, QueryOption...)}
* Enable data boost for partitioned queries. See also {@link
* #partitionQuery(Statement,PartitionOptions,QueryOption[])}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For consistency and readability, please add a space after the commas in the Javadoc link parameter list. This is also inconsistent with the adjacent link on line 1315 which does include spaces.

Suggested change
* #partitionQuery(Statement,PartitionOptions,QueryOption[])}
* #partitionQuery(Statement, PartitionOptions, QueryOption[])}

Fixes multiline {@link}/{@linkplain} tags, varargs (...) overload references, and malformed Javadoc link tags across sdk-platform-java, java-datastore, java-dns, java-logging, and java-translate so Cloud Reference Docs (docfx-doclet) and standard Javadoc resolve links cleanly under google-java-format 1.25.2.
@lqiu96
lqiu96 force-pushed the fix/cloud-sdk-javadoc-links branch from 25072f2 to 7e18348 Compare December 1, 2026 21:21
@lqiu96
lqiu96 removed request for a team December 1, 2026 21:27

This branch has not been deployed

No deployments
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