[
https://issues.apache.org/jira/browse/HDDS-15908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18097446#comment-18097446
]
Navin Kumar commented on HDDS-15908:
------------------------------------
Thanks [~adoroszlai] for the suggestions.
I find the import is used more then 100+ places .
Can we split this in few subtask based on ordered dependencies and module wise?
> Disallow using Apache Commons Pair
> ----------------------------------
>
> Key: HDDS-15908
> URL: https://issues.apache.org/jira/browse/HDDS-15908
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Tsz-wo Sze
> Priority: Major
> Attachments: image-2026-07-18-12-01-27-484.png
>
>
> As Google suggested:
> {quote}Using the org.apache.commons.lang3.tuple.Pair class from Apache
> Commons Lang is generally discouraged in modern Java ...
> - Lack of semantics ...
> - Code smell (Primitive Obsession) ...
> - Unnecessary dependency ....{quote}
> !image-2026-07-18-12-01-27-484.png|width=600!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]