Nikolay Izhikov created IGNITE-29156:
----------------------------------------

             Summary: Remove BinaryReaderHandlesHolder interface from 
ignite-binary-api
                 Key: IGNITE-29156
                 URL: https://issues.apache.org/jira/browse/IGNITE-29156
             Project: Ignite
          Issue Type: Sub-task
            Reporter: Nikolay Izhikov
            Assignee: Nikolay Izhikov


The reader is the only holder of handles, so the {{BinaryReaderHandlesHolder}} 
interface and {{BinaryReaderHandlesHolderImpl}} in ignite-binary-api are 
unnecessary. Replace them with a package-private {{BinaryReaderHandlesHolder}} 
base class in ignite-binary-impl that keeps the handles field and accessors; 
{{BinaryReaderExImpl}} extends it, the static read helpers take it as their 
handles parameter, and {{BinaryReaderEx}} no longer extends the interface.

No behaviour change; the same single-field object is allocated where the holder 
impl was.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to