Skip to content

Commit 8bf69ab

Browse files
sarutakmarkhamstra
authored andcommitted
[SPARK-3518] Remove wasted statement in JsonProtocol
Author: Kousuke Saruta <[email protected]> Closes apache#2380 from sarutak/SPARK-3518 and squashes the following commits: 8a1464e [Kousuke Saruta] Replaced a variable with simple field reference c660fbc [Kousuke Saruta] Removed useless statement in JsonProtocol.scala (cherry picked from commit e59fac1) Signed-off-by: Patrick Wendell <[email protected]>
1 parent 43ede8e commit 8bf69ab

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/src/main/scala/org/apache/spark/util/JsonProtocol.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ private[spark] object JsonProtocol {
202202
}
203203

204204
def taskInfoToJson(taskInfo: TaskInfo): JValue = {
205-
val accumUpdateMap = taskInfo.accumulables
206205
("Task ID" -> taskInfo.taskId) ~
207206
("Index" -> taskInfo.index) ~
208207
("Attempt" -> taskInfo.attempt) ~

0 commit comments

Comments
 (0)