This post originated from an RSS feed registered with Java Buzz
by Paul Kilroy.
Original Post: Null-less Java
Feed Title: The Frustrated Programmer
Feed URL: http://liberty.phpwebhosting.com/404.html
Feed Description: The problems I encounter on a daily basis, blogged for posterity. All content will be original, contain poor grammar and a few mispellings.
I was reading about Null Pointer Exceptions today, and finally read up on Nice. They had this to say about NullPointer exceptions:
To prevent [a NullPointerException], a reference must be tested before use. However it is easy to forget to do so. Furthermore, there are references that are never null, or rather that should never be. Testing such references clutters the code.
Nice provides the