Reports calls to rangeTo or the .. operator instead of calls to until.

대응하는 함수를 사용하면 코드가 더 단순해집니다.

The quick-fix replaces rangeTo or the .. call with until.

예:


  fun foo(a: Int) {
      for (i in 0..a - 1) {

      }
  }

빠른 수정을 적용한 후:


  fun foo(a: Int) {
      for (i in 0 until a) {

      }
  }