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

Enhance Buffer byte[] accessor methods javadoc #1517

Merged
merged 1 commit into from
Apr 26, 2021

Conversation

Scottmitch
Copy link
Member

Motivation:
Buffer array(), hasArray(), and arrayOffset() methods are coupled.
However the javadocs don't clearly indicate their relationship which may
lead to confusion.

Modifications:

  • Clarify the relationship between Buffer array(), hasArray(), and
    arrayOffset() in javadocs.

Result:
Buffer byte[] accessor javadocs clarify the relationship between related
methods.

Motivation:
Buffer array(), hasArray(), and arrayOffset() methods are coupled.
However the javadocs don't clearly indicate their relationship which may
lead to confusion.

Modifications:
- Clarify the relationship between Buffer array(), hasArray(), and
  arrayOffset() in javadocs.

Result:
Buffer byte[] accessor javadocs clarify the relationship between related
methods.
@Scottmitch Scottmitch merged commit 1267227 into apple:main Apr 26, 2021
@Scottmitch Scottmitch deleted the buffer_docs branch April 26, 2021 16:08
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