From c369824de7d0e93da55c8b64fb9f903bff3b2bfb Mon Sep 17 00:00:00 2001 From: Phil Steitz Date: Sat, 1 Jan 2011 21:06:29 +0000 Subject: [PATCH] Fixed checkstyle errors: hidden fields, missing javadoc. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054289 13f79535-47bb-0310-9956-ffa450edef68 --- .../math/distribution/ExponentialDistributionImpl.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/math/distribution/ExponentialDistributionImpl.java b/src/main/java/org/apache/commons/math/distribution/ExponentialDistributionImpl.java index 1e685d499..ae11154c3 100644 --- a/src/main/java/org/apache/commons/math/distribution/ExponentialDistributionImpl.java +++ b/src/main/java/org/apache/commons/math/distribution/ExponentialDistributionImpl.java @@ -271,15 +271,21 @@ public class ExponentialDistributionImpl extends AbstractContinuousDistribution */ @Override protected double calculateNumericalVariance() { - final double mean = getMean(); - return mean * mean; + final double m = getMean(); + return m * m; } + /** + * {@inheritDoc} + */ @Override public boolean isSupportLowerBoundInclusive() { return true; } + /** + * {@inheritDoc} + */ @Override public boolean isSupportUpperBoundInclusive() { return false;