Looking at some scala 2.10.4 library code:
implicit def wrapIntArray(xs: Array[Int]): WrappedArray[Int] = if (xs ne null) new WrappedArray.ofInt(xs) else null
What are the issues in making it:
if (xs != null) new WrappedArray.ofInt(xs) else null