[
https://issues.apache.org/jira/browse/HDFS-17213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17770875#comment-17770875
]
ASF GitHub Bot commented on HDFS-17213:
---------------------------------------
xiaojunxiang2023 opened a new pull request, #6134:
URL: https://github.com/apache/hadoop/pull/6134
https://issues.apache.org/jira/browse/HDFS-17213
sketch: Improve the getUseage( ) method: "if else" -> "switch case"
> In RouterAdmin class,"if else" is not as elegant as "switch case".
> ------------------------------------------------------------------
>
> Key: HDFS-17213
> URL: https://issues.apache.org/jira/browse/HDFS-17213
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: xiaojunxiang
> Priority: Minor
> Attachments: image-2023-10-01-21-29-22-983.png
>
>
> In RouterAdmin class, "if else" is not as elegant as "switch case" in the
> admin command parameters section.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]