On Oct 28, 2015, at 4:44 PM, John Rose <john.r.r...@oracle.com> wrote:
> 
> As I said to you verbally, I'm not going to "die on this hill", but I do 
> think the name chosen has some disadvantages that could have been avoided 
> with a very slight mental shift about require.  I.e., "requireNonNull*" 
> requires its *return value* to be not-null, so if its *argument* is null, 
> then an adjustment is made (throw, select alternate value, get-from-supplier).

P.S. Should have finished with this:

When adding new API points, let's be sensitive to regularity within families of 
methods that share a prefix, since IDEs present them together.

Reply via email to