View by Classes

Findings - Overview

info method stores return result in local before immediately returning it (Findbugs)

Further info on the wiki.

This method stores the return result in a local variable, and then immediately returns the local variable. It would be simpler just to return the value that is assigned to the local variable, directly.

1org.jcoderz.commons.connector.http.transport.HttpClientConnectionTest
method org.jcoderz.commons.connector.http.transport.HttpClientConnectionTest.suite() stores return result in local before immediately returning it (test code) [133]
1org.jcoderz.commons.util.IoUtilTest
method org.jcoderz.commons.util.IoUtilTest.createRandomInputStream(byte[]) stores return result in local before immediately returning it (test code) [274]
1org.jcoderz.commons.connector.http.HttpConnectorBeanTest
method org.jcoderz.commons.connector.http.HttpConnectorBeanTest.suite() stores return result in local before immediately returning it (test code) [80]
1org.jcoderz.commons.connector.file.FsTestCase
method org.jcoderz.commons.connector.file.FsTestCase.getConnectionManager() stores return result in local before immediately returning it (test code) [95]