Skip to content
Snippets Groups Projects
Commit 2714968e authored by Michael Armbrust's avatar Michael Armbrust Committed by Reynold Xin
Browse files

Fix possible null pointer in acumulator toString

Author: Michael Armbrust <michael@databricks.com>

Closes #1204 from marmbrus/nullPointerToString and squashes the following commits:

35b5fce [Michael Armbrust] Fix possible null pointer in acumulator toString
parent 54055fb2
No related branches found
No related tags found
No related merge requests found
......@@ -127,7 +127,7 @@ class Accumulable[R, T] (
Accumulators.register(this, false)
}
override def toString = value_.toString
override def toString = if (value_ == null) "null" else value_.toString
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment