You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Kirill Sizov (Jira)" <ji...@apache.org> on 2022/12/04 17:49:00 UTC

[jira] [Created] (HDDS-7589) Code duplication in MultipartCryptoKeyInputStream and KeyInputStream

Kirill Sizov created HDDS-7589:
----------------------------------

             Summary: Code duplication in MultipartCryptoKeyInputStream and KeyInputStream
                 Key: HDDS-7589
                 URL: https://issues.apache.org/jira/browse/HDDS-7589
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: Kirill Sizov
            Assignee: Kirill Sizov


{{KeyInputStream}} and {{MultipartCryptoKeyInputStream}} have duplicated code for reading from a list of inner streams - {{seek}}, {{read}} and offset calculation. 
We can extract the common stream reading logic to a separate class. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org