Github user srowen commented on a diff in the pull request: https://github.com/apache/spark/pull/10336#discussion_r47840130 --- Diff: extras/java8-tests/src/test/java/org/apache/spark/streaming/Java8APISuite.java --- @@ -440,8 +441,13 @@ public void testPairFlatMap() { public static <T extends Comparable<T>> void assertOrderInvariantEquals( List<List<T>> expected, List<List<T>> actual) { expected.forEach((List<T> list) -> Collections.sort(list)); - actual.forEach((List<T> list) -> Collections.sort(list)); - Assert.assertEquals(expected, actual); + List<List<T>> sortedActual = new ArrayList<>(); + actual.forEach((List<T> list) -> { --- End diff -- The arg does not need a type.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org