commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r917275 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/descriptive/moment/SemiVariance.java
Date Sun, 28 Feb 2010 19:43:11 GMT
Author: luc
Date: Sun Feb 28 19:43:11 2010
New Revision: 917275

URL: http://svn.apache.org/viewvc?rev=917275&view=rev
Log:
fixed variables declaration order to match checkstyle rules

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/descriptive/moment/SemiVariance.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/descriptive/moment/SemiVariance.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/descriptive/moment/SemiVariance.java?rev=917275&r1=917274&r2=917275&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/descriptive/moment/SemiVariance.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/stat/descriptive/moment/SemiVariance.java
Sun Feb 28 19:43:11 2010
@@ -52,6 +52,18 @@
 
 public class SemiVariance extends AbstractUnivariateStatistic implements Serializable {
 
+    /**
+     * The UPSIDE Direction is used to specify that the observations above the
+     * cutoff point will be used to calculate SemiVariance.
+     */
+    public static final Direction UPSIDE_VARIANCE = Direction.UPSIDE;
+
+    /**
+     * The DOWNSIDE Direction is used to specify that the observations below
+     * the cutoff point will be used to calculate SemiVariance
+     */
+    public static final Direction DOWNSIDE_VARIANCE = Direction.DOWNSIDE;
+
     /** Serializable version identifier */
     private static final long serialVersionUID = -2653430366886024994L;
 
@@ -67,18 +79,6 @@
     private Direction varianceDirection = Direction.DOWNSIDE;
 
     /**
-     * The UPSIDE Direction is used to specify that the observations above the
-     * cutoff point will be used to calculate SemiVariance.
-     */
-    public static final Direction UPSIDE_VARIANCE = Direction.UPSIDE;
-
-    /**
-     * The DOWNSIDE Direction is used to specify that the observations below
-     * the cutoff point will be used to calculate SemiVariance
-     */
-    public static final Direction DOWNSIDE_VARIANCE = Direction.DOWNSIDE;
-
-    /**
      * Constructs a SemiVariance with default (true) <code>biasCorrected</code>
      * property and default (Downside) <code>varianceDirection</code> property.
      */



Mime
View raw message