Skip to content

Commit

Permalink
Handle null values in debug()
Browse files Browse the repository at this point in the history
  • Loading branch information
marmbrus committed Jul 30, 2014
1 parent 2c35666 commit 49050a8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ package object debug {
var i = 0
while (i < numColumns) {
val value = currentRow(i)
columnStats(i).elementTypes += HashSet(value.getClass.getName)
if (value != null) {
columnStats(i).elementTypes += HashSet(value.getClass.getName)
}
i += 1
}
currentRow
Expand Down

0 comments on commit 49050a8

Please sign in to comment.