Home > Q&A > body text
if (passengerList!=null&&passengerList.size()>0) {
} else {
}
怪我咯2017-04-18 10:15:53
When list==null, the system reports a null pointer exception when list.size()>0 is executed.