Tuesday, September 1, 2009

Failure Shorthand

Why type
throw new NullPointerException();
when you could just type
throw null;
IT TOTALLY WORKS!!

No comments: