commit | 69e2eff270be8c61fc902fcb337097e86c601295 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Wed Nov 17 11:25:36 2010 -0800 |
committer | Kenny Root <kroot@google.com> | Wed Nov 17 11:25:36 2010 -0800 |
tree | 9c9acad1708357c51d85e6afaaa1852d8b1c02a0 | |
parent | 1bf397ffbdaae9a5354c9bb0b5121c4a9f1c8c76 [diff] |
Don't waste memory creating new Boolean objects Creating a new Boolean is wasteful since there's already a static Boolean.TRUE and Boolean.FALSE. Using Boolean.valueOf will return one of those static objects and reduce memory usage a bit. Change-Id: Id497f951c8a894ec03ac6c3181e6055b56db9db4