commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r1054297 - in /commons/proper/math: branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/FDistributionImpl.java trunk/src/main/java/org/apache/commons/math/distribution/FDistributionImpl.java
Date Sat, 01 Jan 2011 21:35:43 GMT
Author: psteitz
Date: Sat Jan  1 21:35:42 2011
New Revision: 1054297

URL: http://svn.apache.org/viewvc?rev=1054297&view=rev
Log:
Fixed checkstyle errors: operator placement, missing javadoc.

Modified:
    commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/FDistributionImpl.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/FDistributionImpl.java

Modified: commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/FDistributionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/FDistributionImpl.java?rev=1054297&r1=1054296&r2=1054297&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/FDistributionImpl.java
(original)
+++ commons/proper/math/branches/MATH_2_X/src/main/java/org/apache/commons/math/distribution/FDistributionImpl.java
Sat Jan  1 21:35:42 2011
@@ -353,18 +353,24 @@ public class FDistributionImpl
             final double numeratorDF = getNumeratorDegreesOfFreedom();
             final double denomDFMinusTwo = denominatorDF - 2;
 
-            return ( 2 * (denominatorDF * denominatorDF) * (numeratorDF + denominatorDF -
2) )
-                   / ( (numeratorDF * (denomDFMinusTwo * denomDFMinusTwo) * (denominatorDF
- 4)) );
+            return ( 2 * (denominatorDF * denominatorDF) * (numeratorDF + denominatorDF -
2) ) /
+                    ( (numeratorDF * (denomDFMinusTwo * denomDFMinusTwo) * (denominatorDF
- 4)) );
         }
 
         return Double.NaN;
     }
 
+    /**
+     * {@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/FDistributionImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/FDistributionImpl.java?rev=1054297&r1=1054296&r2=1054297&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/FDistributionImpl.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/distribution/FDistributionImpl.java
Sat Jan  1 21:35:42 2011
@@ -308,18 +308,24 @@ public class FDistributionImpl
             final double numeratorDF = getNumeratorDegreesOfFreedom();
             final double denomDFMinusTwo = denominatorDF - 2;
             
-            return ( 2 * (denominatorDF * denominatorDF) * (numeratorDF + denominatorDF -
2) )
-                   / ( (numeratorDF * (denomDFMinusTwo * denomDFMinusTwo) * (denominatorDF
- 4)) );
+            return ( 2 * (denominatorDF * denominatorDF) * (numeratorDF + denominatorDF -
2) ) /
+                   ( (numeratorDF * (denomDFMinusTwo * denomDFMinusTwo) * (denominatorDF
- 4)) );
         }
         
         return Double.NaN;        
     }
 
+    /**
+     * {@inheritDoc}
+     */
     @Override
     public boolean isSupportLowerBoundInclusive() {
         return true;
     }
 
+    /**
+     * {@inheritDoc}
+     */
     @Override
     public boolean isSupportUpperBoundInclusive() {
         return false;



Mime
View raw message