commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikkel Meyer Andersen <m...@mikl.dk>
Subject Re: svn commit: r1054298 - in /commons/proper/math: branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/GammaDistributionImpl.java trunk/src/main/java/org/apache/commons/math/distribution/GammaDistributionImpl.java
Date Sat, 01 Jan 2011 22:04:07 GMT
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 <psteitz@apache.org>:
> 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;
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message