findbugs中Dead store to local variable [DLS_DEAD_LOCAL_STORE]
List detailList = new ArrayList(); detailList = resultModel.getDetails();用findbugs执行后,说List detailList = new ArrayList();存在Dead store to local variable,中文意思是“本地变量存储了闲置不用的对象”。原因:List d
转载
2012-09-02 09:48:07 ·
14061 阅读 ·
0 评论