TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
TIOBE - Java Coding Standard
Search

Rule:  Controversial10Checked automatically with code checker

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);
      }
  }