spotBugs报错记录

367 阅读1分钟

EI_EXPOSE_REP2

may expose internal representation by storing an externally mutable 修改一个对象可能会引起其它对象的改变,因为java中是按值传递的