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.
| 1 | org.jcoderz.guidelines.snippets.JCoderZJavaExample |
| [163] | |