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

4.x: Add todo for duplicates in CompositeArrayBufferData and CompositeListBufferData #8888

Closed
wants to merge 1 commit into from

Conversation

Captain1653
Copy link
Contributor

Description

I've found, that there are many duplicated methods in CompositeArrayBufferData and CompositeListBufferData

For example writeTo(ByteBuffer writeBuffer, int limit)
Screenshot 2024-06-14 at 09 50 17

Maybe I should create the issue, but I'm not sure. The todo can be useful.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 14, 2024
@tomas-langer
Copy link
Member

TODO in code should not be used. We may have some, but it is a bug, not a feature.

@tomas-langer
Copy link
Member

Also this code seems to be a duplicate, but it is not, as data is List<BufferData> in one class, and BufferData[] in the other, so there is no easy way to have a single implementation.

@Captain1653
Copy link
Contributor Author

@tomas-langer Thank you for the explanation. Then I'll close this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
Backlog
  
Awaiting triage
Development

Successfully merging this pull request may close these issues.

None yet

2 participants