Reviewed-by: darcy, weijun
Add NullPointerException to @throws clause and treat empty array and array of nulls as equivalent Reviewed-by: valeriep