随笔分类 -  优化

优雅之道
摘要:案例一 现象描述: 不完善的写法: thisName != null && thisName.equals(name); 更完善的写法: (thisName == name) || (thisName != null && thisName.equals(name)); 建议方案: Objects. 阅读全文

posted @ 2019-08-15 15:57 小白菜好吃 阅读(231) 评论(0) 推荐(0)

导航