Either comment back in or delete. The null check is most certainly unnecessary since you will get an exception in this case anyway. The other assertion also seems unnecessary since it is pretty clear from the code that this won't happen.