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:
Tom Copeland
2002-09-27 23:54:03 +00:00
parent 2ef32a4b21
commit ce5d29fdca

View File

@ -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,