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.
请先登录再写评论。