The null check really adds no value.  The code is going to throw an NPE just fine without it.  If we really want to have a check for null here it should be in the form of an assert so it gets compiled out in production.