View by Classes

Findings - Overview

warning private method only returns one constant value (Findbugs)

private method org.jcoderz.guidelines.snippets.JCoderZJavaExample.doSometingFine() only returns one constant value

Further info on the wiki.

This private or static method only returns one constant value. As this method is private or static, it's behavior can't be overridden, and thus the return of a constant value seems dubious. Either the method should be changed to return no value, or perhaps another return value was expected to be returned in another code path in this method.

1org.jcoderz.guidelines.snippets.JCoderZJavaExample
 [163]