하나의 대입 또는 return 문으로 단순화할 수 있는 if 문을 보고합니다.

예:


  if (foo())
    return true;
  else
    return false;

빠른 수정 적용 후:


  return foo();