admin@glassfish.java.net

Re: Code review request

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Thu, 21 Sep 2006 22:42:59 -0700

Byron Nevins wrote:
> My original intention was to point out that the code was much better
> than the other way -- which I see all the time -- that can generate a
> NPE easily:
>
> if (System.getProperty(JKS_DB_PROPERTY).equals("true"))

I understand, and of course the above code is wrong, I just find the
"if constant equals variable" style disgusting.