Hi,

Phil, thanks for all these corrections and sorry for all the checkstyle
mistakes. I'll see to that it doesn't happen again. I'll try to fix trunk in
the following days.

Cheers, Mikkel.
Den 01/01/2011 22.45 skrev <[email protected]>:
> Author: psteitz
> Date: Sat Jan 1 21:45:35 2011
> New Revision: 1054298
>
> URL: http://svn.apache.org/viewvc?rev=1054298&view=rev
> Log:
> Fixed checkstyle errors: hidden field, missing javadoc.
>
> Modified:
>
commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/GammaDistributionImpl.java
>
commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/GammaDistributionImpl.java
>
> Modified:
commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/GammaDistributionImpl.java
> URL:
http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/GammaDistributionImpl.java?rev=1054298&r1=1054297&r2=1054298&view=diff
>
==============================================================================
> ---
commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/GammaDistributionImpl.java
(original)
> +++
commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/GammaDistributionImpl.java
Sat Jan 1 21:45:35 2011
> @@ -351,15 +351,21 @@ public class GammaDistributionImpl exten
> */
> @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;
>
> Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/GammaDistributionImpl.java
> URL:
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/GammaDistributionImpl.java?rev=1054298&r1=1054297&r2=1054298&view=diff
>
==============================================================================
> ---
commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/GammaDistributionImpl.java
(original)
> +++
commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/GammaDistributionImpl.java
Sat Jan 1 21:45:35 2011
> @@ -288,15 +288,21 @@ public class GammaDistributionImpl exten
> */
> @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;
>
>

Reply via email to