Skip to content

Commit f2399e9

Browse files
author
Eric Vandenberg
committed
Fix scalastyle issue and remove unnecessary null.
1 parent 3cf068d commit f2399e9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/src/test/scala/org/apache/spark/scheduler/TaskSetManagerSuite.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import scala.collection.mutable
2323
import scala.collection.mutable.ArrayBuffer
2424

2525
import org.mockito.Matchers.{any, anyInt, anyString}
26-
import org.mockito.Mockito.{mock, never, spy, verify, when, times}
26+
import org.mockito.Mockito.{mock, never, spy, times, verify, when}
2727
import org.mockito.invocation.InvocationOnMock
2828
import org.mockito.stubbing.Answer
2929

@@ -1204,7 +1204,6 @@ class TaskSetManagerSuite extends SparkFunSuite with LocalSparkContext with Logg
12041204
val task = invocationOnMock.getArgumentAt(0, classOf[Int])
12051205
assert(taskSetManager.taskSetBlacklistHelperOpt.get.
12061206
isExecutorBlacklistedForTask(exec, task))
1207-
null
12081207
}
12091208
}
12101209
)

0 commit comments

Comments
 (0)