http://git-wip-us.apache.org/repos/asf/commons-math/blob/bf7e9d50/src/main/java/org/apache/commons/math4/util/MathArrays.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/util/MathArrays.java 
b/src/main/java/org/apache/commons/math4/util/MathArrays.java
index 2206a2c..d6195e6 100644
--- a/src/main/java/org/apache/commons/math4/util/MathArrays.java
+++ b/src/main/java/org/apache/commons/math4/util/MathArrays.java
@@ -312,7 +312,7 @@ public class MathArrays {
     /**
      * Specification of ordering direction.
      */
-    public static enum OrderDirection {
+    public enum OrderDirection {
         /** Constant for increasing direction. */
         INCREASING,
         /** Constant for decreasing direction. */
@@ -778,7 +778,7 @@ public class MathArrays {
          * @param key Key.
          * @param value Value.
          */
-        public PairDoubleInteger(double key, int value) {
+        PairDoubleInteger(double key, int value) {
             this.key = key;
             this.value = value;
         }
@@ -1557,7 +1557,7 @@ public class MathArrays {
      * Specification for indicating that some operation applies
      * before or after a given index.
      */
-    public static enum Position {
+    public enum Position {
         /** Designates the beginning of the array (near index 0). */
         HEAD,
         /** Designates the end of the array. */

http://git-wip-us.apache.org/repos/asf/commons-math/blob/bf7e9d50/src/main/java/org/apache/commons/math4/util/ResizableDoubleArray.java
----------------------------------------------------------------------
diff --git 
a/src/main/java/org/apache/commons/math4/util/ResizableDoubleArray.java 
b/src/main/java/org/apache/commons/math4/util/ResizableDoubleArray.java
index 7d9547c..87f2ec4 100644
--- a/src/main/java/org/apache/commons/math4/util/ResizableDoubleArray.java
+++ b/src/main/java/org/apache/commons/math4/util/ResizableDoubleArray.java
@@ -133,7 +133,7 @@ public class ResizableDoubleArray implements DoubleArray, 
Serializable {
      * Specification of expansion algorithm.
      * @since 3.1
      */
-    public static enum ExpansionMode {
+    public enum ExpansionMode {
         /** Multiplicative expansion mode. */
         MULTIPLICATIVE,
         /** Additive expansion mode. */

Reply via email to