This looks pretty weird; add a space between the different implicits, and maybe write them like this:
```
private[spark]
implicit def toJFunction2[T1, T2, R](fun: JFunction2[T1, T2, R]): Function2[T1, T2, R] = {
  (x: T1, x1: T2) => fun.call(x, x1)
}
```

Note that our line length limit is 100 characters, so this should fit.