master branch
voldemort / src / java / voldemort / cluster / failuredetector /
FailureDetectorConfig.java
line 316
public FailureDetectorConfig setThresholdCountMinimum(int
thresholdCountMinimum) {
if(threshold < 0)
throw new IllegalArgumentException("thresholdCountMinimum must be greater than or equal to 0");
this.thresholdCountMinimum = thresholdCountMinimum;
return this;
}
The if clause is wrong
if(threshold < 0)
Original issue reported on code.google.com by panxiaoz...@gmail.com on 17 May 2011 at 11:34
Original issue reported on code.google.com by
panxiaoz...@gmail.com
on 17 May 2011 at 11:34