Null and empty check in one go in groovy

后端 未结 0 1788
一生所求
一生所求 2021-02-11 08:14

Can someone please clarify below issue.

Below validation throw NULL pointer error when pass null in myVar. It is because of !myVar.isEmpty()

i         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题