orEmpty() 또는 isNullOrEmpty 같은 표준 라이브러리의 여러 함수는 null 가능 타입의 리시버에서 호출했을 때에만 의미가 있습니다. 그렇지 않은 경우 결과가 같으므로 생략하거나 단순화할 수 있습니다.
Remove redundant call and Change call to … quick-fixes can be used to amend the code automatically.
예:
fun test(s: String) {
val x = s.orEmpty() // 빠른 수정에서는 's'로 단순화합니다
val y = s.isNullOrEmpty() // 빠른 수정에서는 's.isEmpty()'로 단순화합니다
}