无作用本地变量的存储(低级别)
Dead store to local variable:
This instruction assigns a value to a local variable, but the value is not read or used in any subsequent instruction. Often, this indicates an error, because the value computed is never used. Note that Sun’s javac compiler often generates dead stores for final local variables. Because FindBugs is a bytecode-based tool, there is no easy way to eliminate these false positives.
无作用本地变量的存储:此异常是–声明了一个本地变量,但后续不会被任何代码读取或使用到。也就是后续程序中,从未使用该本地变量,请注意,Sun的javac编译器通常会为最终的局部变量生成无作用储存。
直接删除没用的变量即可。