Supressed varargs warnings in tests.

Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/903c315a
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/903c315a
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/903c315a

Branch: refs/heads/MATH_3_X
Commit: 903c315a54fc14204b9a80fc4111a0c531079f9e
Parents: 4ed1d03
Author: Luc Maisonobe <l...@apache.org>
Authored: Fri Dec 25 15:29:04 2015 +0100
Committer: Luc Maisonobe <l...@apache.org>
Committed: Fri Dec 25 15:29:04 2015 +0100

----------------------------------------------------------------------
 src/test/java/org/apache/commons/math3/PerfTestUtils.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/903c315a/src/test/java/org/apache/commons/math3/PerfTestUtils.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/math3/PerfTestUtils.java 
b/src/test/java/org/apache/commons/math3/PerfTestUtils.java
index 4558305..d8c1caf 100644
--- a/src/test/java/org/apache/commons/math3/PerfTestUtils.java
+++ b/src/test/java/org/apache/commons/math3/PerfTestUtils.java
@@ -50,6 +50,7 @@ public class PerfTestUtils {
      * taken by a single call to the {@code call} method (i.e. the time
      * taken by each timed block divided by {@code repeatChunk}).
      */
+    @SuppressWarnings("unchecked")
     public static StatisticalSummary[] time(int repeatChunk,
                                             int repeatStat,
                                             boolean runGC,
@@ -94,6 +95,7 @@ public class PerfTestUtils {
      *  </li>
      * </ul>
      */
+    @SuppressWarnings("unchecked")
     public static double[][][] timesAndResults(int repeatChunk,
                                                int repeatStat,
                                                boolean runGC,

Reply via email to