use `Nil#::` instead of `List.apply`

`List(1)` is equivalent to `List(Predef.wrapIntArray(Array(1)))`.
`Nil#::` is more efficient