用toString 会遇到空指针的现象
直接用 String.valueOf 来替代
【Java】【陷阱】toString() 再也不用了
原文:https://www.cnblogs.com/danhuai/p/12781649.html