View by Classes

Findings - Overview

info Dead store to local variable (Findbugs)

Further info on the wiki.

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.

4org.jcoderz.commons.types.StrongTypesTest
Dead store to lg in org.jcoderz.commons.types.StrongTypesTest.testToHigh() (test code) [106],
Dead store to key in org.jcoderz.commons.types.StrongTypesTest.testToLong() (test code) [71],
Dead store to lg in org.jcoderz.commons.types.StrongTypesTest.testToLow() (test code) [123],
Dead store to key in org.jcoderz.commons.types.StrongTypesTest.testToShort() (test code) [89]
4org.jcoderz.commons.logging.BasicPrinter
Dead store to i in org.jcoderz.commons.logging.BasicPrinter.printMessageLine(PrintWriter, LogItem, List) [268],
Dead store to i in org.jcoderz.commons.logging.BasicPrinter.printNesting(PrintWriter, LogItem, List) [318],
Dead store to i in org.jcoderz.commons.logging.BasicPrinter.printStackTraceLine(PrintWriter, LogItem, List, StackTraceInfo) [303],
Dead store to i in org.jcoderz.commons.logging.BasicPrinter.printTraceLine(PrintWriter, LogItem, List) [246]
3org.jcoderz.commons.connector.http.transport.HttpClientConnectionTest
Dead store to response in org.jcoderz.commons.connector.http.transport.HttpClientConnectionTest.testSendSimplePostRequestWithImmediateClose() (test code) [412],
Dead store to response in org.jcoderz.commons.connector.http.transport.HttpClientConnectionTest.testSendSimplePostRequestWithoutResponse() (test code) [375],
Dead store to response in org.jcoderz.commons.connector.http.transport.HttpClientConnectionTest.testSendMultiplePostRequestAfterServerClose() (test code) [496]
3org.jcoderz.commons.connector.http.HttpConnectorBeanTest
Dead store to response in org.jcoderz.commons.connector.http.HttpConnectorBeanTest.testConnectingSimpleServerWithEmptyResponseBody() (test code) [204],
Dead store to response in org.jcoderz.commons.connector.http.HttpConnectorBeanTest.testConnectingSimpleServerWithExpectedResponseHeaderFailed() (test code) [167],
Dead store to response in org.jcoderz.commons.connector.http.HttpConnectorBeanTest.testConnectingSimpleServerWithTimeout() (test code) [230]
1org.jcoderz.phoenix.report.Report2Console
Dead store to out in org.jcoderz.phoenix.report.Report2Console.outputForFile(File) [169]