You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2026/09/18 14:41:00 UTC

[jira] [Created] (HDDS-16505) Avoid StringBuilder in SCMNodeManager#convertUnit

Attila Doroszlai created HDDS-16505:
---------------------------------------

             Summary: Avoid StringBuilder in SCMNodeManager#convertUnit
                 Key: HDDS-16505
                 URL: https://issues.apache.org/jira/browse/HDDS-16505
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: SCM
            Reporter: Attila Doroszlai


SCMNodeManager#convertUnit creates a StringBuilder for unit suffix.  This is unnecessary, could simply use a String.

https://github.com/apache/ozone/blob/6dd41bede5c0fe15517df0873ad4226446d7ee24/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/node/SCMNodeManager.java#L1327-L1347



--
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