apply code review hints