You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Gargi Jaiswal (Jira)" <ji...@apache.org> on 2025/08/18 08:24:00 UTC
[jira] [Resolved] (HDDS-13588) [DiskBalancer] Remove Optional from Method Parameters
[ https://issues.apache.org/jira/browse/HDDS-13588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gargi Jaiswal resolved HDDS-13588.
----------------------------------
Resolution: Duplicate
> [DiskBalancer] Remove Optional from Method Parameters
> -----------------------------------------------------
>
> Key: HDDS-13588
> URL: https://issues.apache.org/jira/browse/HDDS-13588
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Gargi Jaiswal
> Assignee: Gargi Jaiswal
> Priority: Major
>
> Replace the use of {{*Optional*}} for method parameters in DiskBalancer. As a general rule, parameters should be explicitly *required* or {*}nullable{*}, not wrapped in an {{{}Optional{}}}.
> For context, see: [https://www.reddit.com/r/java/comments/sat1j4/opinions_on_using_optional_as_parameter/]
--
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