HDDS-7301. Cleanup of org.apache.hadoop.ozone.OmUtils#3812
HDDS-7301. Cleanup of org.apache.hadoop.ozone.OmUtils#3812adoroszlai merged 2 commits intoapache:masterfrom
Conversation
kaijchen
left a comment
There was a problem hiding this comment.
The change is correct, however, some public static methods such as getOmRpcPort might be useful in the future (they are used only once and the patch has inlined them). What do you think @adoroszlai?
adoroszlai
left a comment
There was a problem hiding this comment.
Thanks @myskov for the patch.
some public static methods such as
getOmRpcPortmight be useful in the future (they are used only once and the patch has inlined them)
Not only that, but it is possible that user code may call these public methods. I think it's better to deprecate them first, to be removed in some future release.
hey @myskov ~ would you mind marking those methods deprecated for now and creating ticket(s) for the removal in the future? |
What changes were proposed in this pull request?
Removed dead code and code smells reported by Sonar.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-7301
How was this patch tested?
unit tests