코드 블록에 하나의 구문만 포함하는 제어 흐름 구문을 보고하고 제어 흐름 구문 본문에서 중괄호를 제거할 것을 제안합니다.

예:


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

빠른 수정을 적용한 후:


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