Skip to content

CLIENT-4159: enriched doc#549

Draft
dmishra-aero wants to merge 1 commit intostagefrom
CLIENT-4159-jdk-21-api-doc-guidelines
Draft

CLIENT-4159: enriched doc#549
dmishra-aero wants to merge 1 commit intostagefrom
CLIENT-4159-jdk-21-api-doc-guidelines

Conversation

@dmishra-aero
Copy link
Contributor

Enhanced javadoc on public classes and public method that are part of IAerospikeClient
Enhanced javadoc for supporting classes used by Client such as policies, errors e.t.c

@dmishra-aero dmishra-aero marked this pull request as draft February 18, 2026 06:35
@dmishra-aero
Copy link
Contributor Author

Please feel free to review. I’ve marked this as a draft so other stakeholders can also preview the Javadoc and assess its usefulness before getting this merged

@dmishra-aero dmishra-aero force-pushed the CLIENT-4159-jdk-21-api-doc-guidelines branch from ce0c29e to c7b1f4f Compare February 18, 2026 11:14

/**
* Initialize task with fields needed to query server nodes.
* @param client client (must not be null)
Copy link
Collaborator

Choose a reason for hiding this comment

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

issue: It seems like we are dropping information from the comment

Adding params is fine but description is gone? Is this intended?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not intentional though..let me review other places too


/**
* Aerospike event loop interface.
* Single event loop used to run asynchronous Aerospike operations.
Copy link
Collaborator

@mirzakaracic mirzakaracic Feb 18, 2026

Choose a reason for hiding this comment

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

issue: don't change the description. The description does not make sense.

Single event loop? Seems confusing, since we could have many events.

Copy link
Collaborator

@mirzakaracic mirzakaracic left a comment

Choose a reason for hiding this comment

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

So there is 124 files that have been changed. I have not looked at all of the changes. I honestly don't think a pot of coffee could bring me to get through all the comments where I could dedicate enough brain bandwidth to provide useful comments. Instead I am going to give feedback based on small sample and have the AI handle the slop it has generated.

Feedback:

  • Adding code examples is great but we have examples folder as well. I take it ai will be able to sync or keep both in sync? Seems like we should provide ai instructions to at least consider the examples and make sure if there are changes doc examples that they are in sync with equivalent example in example module.
  • In some instances we have removed descriptions and just added parameters. Don't do that
  • in some instance we have reworded what was there. The problem here is that rewording is not always correct. And there are a lot of changes. Could we divide and conquer the changes? It looks like we have added about 4100 lines and removed 2100 lines. If we are going to have other PR's like this we need to be more strategic otherwise we are risking merging information that is just not correct.

I would love to get others feedback on the output here.
cc: @BrianNichols @fallguy @justinlee-aerospike

@dmishra-aero dmishra-aero force-pushed the CLIENT-4159-jdk-21-api-doc-guidelines branch from c7b1f4f to 62351f9 Compare February 19, 2026 07:13
@github-actions
Copy link

Test Results (gnu / 8.1.0.3_2)

298 tests   277 ✅  42s ⏱️
  1 suites   21 💤
  1 files      0 ❌

Results for commit 62351f9.

@github-actions
Copy link

Test Results (bouncycastle / 8.1.0.3_2)

298 tests   277 ✅  42s ⏱️
  1 suites   21 💤
  1 files      0 ❌

Results for commit 62351f9.

@github-actions
Copy link

Test Results (gnu / 8.1.1.0_1)

298 tests   277 ✅  41s ⏱️
  1 suites   21 💤
  1 files      0 ❌

Results for commit 62351f9.

@github-actions
Copy link

Test Results (bouncycastle / 8.1.1.0_1)

298 tests   277 ✅  41s ⏱️
  1 suites   21 💤
  1 files      0 ❌

Results for commit 62351f9.

@dmishra-aero
Copy link
Contributor Author

dmishra-aero commented Feb 19, 2026

@mirzakaracic I will try to split this PR into multiple smaller PRs, each targeting a specific package or feature.

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.

2 participants

Comments