aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/java/org/apache/spark/util/collection/TestTimSort.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/test/java/org/apache/spark/util/collection/TestTimSort.java')
-rw-r--r--core/src/test/java/org/apache/spark/util/collection/TestTimSort.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/test/java/org/apache/spark/util/collection/TestTimSort.java b/core/src/test/java/org/apache/spark/util/collection/TestTimSort.java
index 45772b6d3c..e884b1bc12 100644
--- a/core/src/test/java/org/apache/spark/util/collection/TestTimSort.java
+++ b/core/src/test/java/org/apache/spark/util/collection/TestTimSort.java
@@ -76,7 +76,7 @@ public class TestTimSort {
* @param length The sum of all run lengths that will be added to <code>runs</code>.
*/
private static List<Long> runsJDKWorstCase(int minRun, int length) {
- List<Long> runs = new ArrayList<Long>();
+ List<Long> runs = new ArrayList<>();
long runningTotal = 0, Y = minRun + 4, X = minRun;