【发布时间】:2013-07-22 22:34:15
【问题描述】:
我正在尝试消除 DLS_DEAD_LOCAL_STORE 的误报
这是我迄今为止尝试过的:
@SuppressWarnings("DLS_DEAD_LOCAL_STORE")
@edu.umd.cs.findbugs.annotations.SuppressWarnings("DLS_DEAD_LOCAL_STORE")
(基于SuppressWarnings not working on FindBugs)
@edu.umd.cs.findbugs.annotations.SuppressWarnings(value = "DLS_DEAD_LOCAL_STORE", justification = "please go away")
基于http://osdir.com/ml/java-findbugs-general/2010-06/msg00017.html
但没有一个选项有帮助。请指教。 使用 Eclipse Indigo。
【问题讨论】:
标签: java findbugs spring-annotations suppress-warnings