Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

capacity-limiter-api: polish javadocs and minor code modifications #3031

Merged
merged 3 commits into from
Aug 6, 2024

Conversation

daschl
Copy link
Contributor

@daschl daschl commented Aug 5, 2024

This changeset mainly polishes javadocs as well as cleans up the implementations slightly without changing their behavior.

@daschl daschl requested review from idelpivnitskiy, bryce-anderson and tkountis and removed request for idelpivnitskiy August 5, 2024 13:55
Copy link
Contributor

@bryce-anderson bryce-anderson left a comment

Choose a reason for hiding this comment

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

These seem fine to me.
Feel free to ignore: while you're here would you like to change the documentation for the meaning of the return values, specifically that the hints have meaning if they're non-negative? The only place I see it used in non-tests is here where only negative values are ignored (eg, 0 has meaning).

@daschl
Copy link
Contributor Author

daschl commented Aug 6, 2024

These seem fine to me. Feel free to ignore: while you're here would you like to change the documentation for the meaning of the return values, specifically that the hints have meaning if they're non-negative? The only place I see it used in non-tests is here where only negative values are ignored (eg, 0 has meaning).

Will do this as a follow-up.

@daschl daschl merged commit 52d68b0 into apple:main Aug 6, 2024
11 checks passed
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.

3 participants