commit | 93c91c2fb056b7b18f3ca345f5c2a2a42f40820e | [log] [tgz] |
---|---|---|
author | Alex Blewitt <alex.blewitt@gmail.com> | Tue Oct 20 20:23:31 2020 +0100 |
committer | Alex Blewitt <alex.blewitt@gmail.com> | Fri Oct 23 12:42:50 2020 +0100 |
tree | 713dd548294e55b63644778ff592f3d4102f76b0 | |
parent | ae4c26214bc56885e11f09386052a2373a7378c5 [diff] |
Remove uses of new Integer() Instead of using `new Integer()` to construct Integer instances, use `Integer.valueOf()` which uses a cache to prevent re-instantiation of Integer instances where necessary. Bug: 568048 Change-Id: Ic5cbba63c04efb6410af186ead039b4051f04c83 Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>