[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about NullPointerChecker



Archie Cobbs wrote:
> However, it seems like the NullPointerChecker misses two easy
> optimizations: when the base is "this" and when the base is an
> object that was just created via "new". Clearly an object cannot
> possibly be null in either of those cases. Unfortunately, these
> cases are much more common (in my application) than the above
> example.

Oops, nevermind, I was just being brain-dead. NullPointerChecker is
properly doing these two optimizations as well.

Sorry for the disturbance.

Thanks,
-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com