On Thu, Nov 19, 2009 at 1:39 AM, Henri Yandell <[email protected]> wrote:
> Your argument being that the JDK and others do NPE when null? i.e. NPE > = IAE(null)? Yes. Some things to note: * The JDK does this as their pattern * JDK 7 definitely encodes this patter in their new Object.notNull() method. * Google Collections -- being a JDK wannabe addition -- does this * Josuha Bloch's "Effective Java" (two editions) has codified this expectation into the minds of developers. Paul --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
