Duo Zhang created HBASE-25838:
---------------------------------
Summary: Use double instead of Double in StochasticLoadBalancer
Key: HBASE-25838
URL: https://issues.apache.org/jira/browse/HBASE-25838
Project: HBase
Issue Type: Sub-task
Components: Balancer, Performance
Reporter: Duo Zhang
{code}
// to save and report costs to JMX
private Double curOverallCost = 0d;
private Double[] tempFunctionCosts;
private Double[] curFunctionCosts;
{code}
It seems we never do null check on these field or the elements, so I do not see
any reason we should use Double here. Just use double instead.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)