Synopsis: | This statement may have some unnecessary parentheses |
Language: | Java |
Severity Level: | 6 |
Category: | Controversial |
Description: |
Sometimes expressions are wrapped in unnecessary parentheses,
making them look like a function call.public class Foo { boolean bar() { return (true); } } |