commit | 3febe3c01bd004263eaf589546e16c0c1a179fec | [log] [tgz] |
---|---|---|
author | Alex Blewitt <alex.blewitt@gmail.com> | Thu Jun 18 09:53:48 2015 +0100 |
committer | Alex Blewitt <alex.blewitt@gmail.com> | Thu Jun 25 14:51:02 2015 -0400 |
tree | c1d70593367984ac12b80eefd6cf6c27806563b3 | |
parent | 1a3f7ab5b32bf6445fdf3a94e15690efc53047a4 [diff] |
Bug 470459 - Replace `new Boolean(t/f)` with Boolean.T/F Using `new Boolean()` results in the creation of a new object on the heap, when the flyweight `Boolean.TRUE` and `Boolean.FALSE` are available. Replace constant valued expressions with their flyweight counterparts. Bug: 470459 Change-Id: I090dee49e1f61a71a61a13b5cabed14360552c99 Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>