removed unused variables
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1018 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -82,13 +82,7 @@ public abstract class StatisticalRule extends AbstractRule {
|
||||
}
|
||||
|
||||
protected double getStdDev() {
|
||||
double varTotal = 0.0;
|
||||
|
||||
Iterator points = dataPoints.iterator();
|
||||
|
||||
double variance = ((totalSquared / count) -
|
||||
(getMean() * getMean() ));
|
||||
return Math.sqrt( variance );
|
||||
return Math.sqrt( ((totalSquared / count) - (getMean() * getMean() )) );
|
||||
}
|
||||
|
||||
protected SortedSet applyMinimumValue( SortedSet pointSet,
|
||||
|
Reference in New Issue
Block a user