I found this in a Java program I was updating at work:
boolean boolExcluded = obj.getString()
.equalsIgnoreCase("yes") ? true : false;
Which is obviously redundant in this case. Geez.
A New Paradigm of Compendiums, Addendums and the Maximum Datum.
boolean boolExcluded = obj.getString()
.equalsIgnoreCase("yes") ? true : false;
0 comments on this foolish article: