Reports the control flow statements with a single statement in the code block and suggests removing the braces from the statement body.

Example:


  if (x > 0) {
    System.out.println("x is positive");
  }

After the quick-fix is applied:


  if (x > 0) System.out.println("x is positive");