Skip to content

Commit e59fac1

Browse files
sarutakpwendell
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
1 parent fe2b1d6 commit e59fac1

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
@@ -205,7 +205,6 @@ private[spark] object JsonProtocol {
205205
}
206206

207207
def taskInfoToJson(taskInfo: TaskInfo): JValue = {
208-
val accumUpdateMap = taskInfo.accumulables
209208
("Task ID" -> taskInfo.taskId) ~
210209
("Index" -> taskInfo.index) ~
211210
("Attempt" -> taskInfo.attempt) ~

0 commit comments

Comments
 (0)