HBASE-10840 Fix findbug warn induced by HBASE-10569.(Anoop)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1582242 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e44d0d8083
commit
4487333e5e
|
@ -568,11 +568,10 @@ public class StochasticLoadBalancer extends BaseLoadBalancer {
|
||||||
*/
|
*/
|
||||||
public abstract static class CostFunction {
|
public abstract static class CostFunction {
|
||||||
|
|
||||||
protected float multiplier = 0;
|
private float multiplier = 0;
|
||||||
protected Configuration conf;
|
|
||||||
|
|
||||||
CostFunction(Configuration c) {
|
CostFunction(Configuration c) {
|
||||||
this.conf = c;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
float getMultiplier() {
|
float getMultiplier() {
|
||||||
|
|
Loading…
Reference in New Issue