method copyArrayToImmutableIndexedSeq in class LowPriorityImplicits2 is deprecated (since 2.13.0): Implicit conversions from Array to immutable.IndexedSeq are implemented by copying; Use the more efficient non-copying ArraySeq.unsafeWrapArray or an explicit toIndexedSeq call
Dostaję takie ostrzeżenie wskazujące split
w ostatniej linijce tego:
val seq = items
.drop(1)
.map(_.children.map(_.text).toSeq)
.map(row => Country(row(0), row(1), row(3).replaceAll("[\\d,\\[\\]]", "").split(",")))