IPP: Boolean Performance Intention

An intention that suggest to turn static Boolean constructor calls into references to the statics:

new Boolean(true) --> Boolean.TRUE
new Boolean(false) --> Boolean.FALSE

the IG mark the constructor calls for bad performance, so the IPP should provide a fast solution.

Please sign in to leave a comment.