3858e94ef9
### What changes were proposed in this pull request? Renamed an identifier `iterator` to `iter` to avoid compile error with Scala 2.13. ### Why are the changes needed? As of Scala 2.13, scala.collection.Iterator has "iterator" method so if an inner class of Iterator means to refer an outer identifier named "iterator", it does not work as we think. I listed source files that can be affected by that change by `find . -name "*.scala" -exec grep -El "new .*Iterator\[.* +{" {} \;` As far as I confirmed util.Utils` is affected. ### Does this PR introduce any user-facing change? No. ### How was this patch tested? Existing tests. Closes #27275 from sarutak/fix-iterator-for-2.13. Authored-by: Kousuke Saruta <sarutak@oss.nttdata.com> Signed-off-by: HyukjinKwon <gurwls223@apache.org> |
||
---|---|---|
.. | ||
benchmarks | ||
src | ||
pom.xml |