sonarfix: Avoid c-style array declarations
diff --git a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ml/clustering/ElkanKMeansPlusPlusClusterer.java b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ml/clustering/ElkanKMeansPlusPlusClusterer.java
index 0ee3683..6cd3679 100644
--- a/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ml/clustering/ElkanKMeansPlusPlusClusterer.java
+++ b/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/ml/clustering/ElkanKMeansPlusPlusClusterer.java
@@ -339,7 +339,7 @@
      * @param c index of the cluster
      * @return true if conditions above satisfied false otherwise
      */
-    private static boolean isSkipNext(int partitions[],
+    private static boolean isSkipNext(int[] partitions,
                                       double[] u,
                                       double[][] l,
                                       double[][] dcc,