Skip to content

Commit c0153a5

Browse files
committed
Remove unused variable.
1 parent e8e2867 commit c0153a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/test/java/org/apache/spark/JavaAPISuite.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1384,7 +1384,7 @@ public void testAsyncActionErrorWrapping() throws Exception {
13841384
JavaRDD<Integer> rdd = sc.parallelize(data, 1);
13851385
JavaFutureAction<Long> future = rdd.map(new BuggyMapFunction<Integer>()).countAsync();
13861386
try {
1387-
long count = future.get(2, TimeUnit.SECONDS);
1387+
future.get(2, TimeUnit.SECONDS);
13881388
Assert.fail("Expected future.get() for failed job to throw ExcecutionException");
13891389
} catch (ExecutionException ee) {
13901390
Assert.assertTrue(Throwables.getStackTraceAsString(ee).contains("Custom exception!"));

0 commit comments

Comments
 (0)