Fixed checkstyle errors: hidden field, missing javadoc.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054298 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Phil Steitz 2011-01-01 21:45:35 +00:00
parent 57d660e718
commit d19ccac2a9
1 changed files with 8 additions and 2 deletions

View File

@ -288,15 +288,21 @@ public class GammaDistributionImpl extends AbstractContinuousDistribution
*/
@Override
protected double calculateNumericalVariance() {
final double beta = getBeta();
return getAlpha() * beta * beta;
final double b = getBeta();
return getAlpha() * b * b;
}
/**
* {@inheritDoc}
*/
@Override
public boolean isSupportLowerBoundInclusive() {
return true;
}
/**
* {@inheritDoc}
*/
@Override
public boolean isSupportUpperBoundInclusive() {
return false;