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 @Override
protected double calculateNumericalVariance() { protected double calculateNumericalVariance() {
final double beta = getBeta(); final double b = getBeta();
return getAlpha() * beta * beta; return getAlpha() * b * b;
} }
/**
* {@inheritDoc}
*/
@Override @Override
public boolean isSupportLowerBoundInclusive() { public boolean isSupportLowerBoundInclusive() {
return true; return true;
} }
/**
* {@inheritDoc}
*/
@Override @Override
public boolean isSupportUpperBoundInclusive() { public boolean isSupportUpperBoundInclusive() {
return false; return false;