Hacker News new | ask | show | jobs
by PaulHoule 3404 days ago
I think it is better than if(x!=null && x.equals("y")

You have to take bits of concision where you can find them in Java.