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 06:14:00 UTC

[jira] [Created] (HDDS-13588) [DiskBalancer] Remove Optional from Method Parameters

Gargi Jaiswal created HDDS-13588:
------------------------------------

             Summary: [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


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