SyntaxFix
Write A Post
Hire A Developer
Questions
Haven't seen anyone mention instanceof being implemented in such a way that checking for null is not necessary.
Instead of:
if( null != aObject && aObject instanceof String ) { ... }
just use:
if( aObject instanceof String ) { ... }