commit | ebe28b025439060638de5acf4032b8a64d7b69ac | [log] [tgz] |
---|---|---|
author | Orion Hodson <oth@google.com> | Wed Sep 14 09:46:56 2022 +0100 |
committer | Orion Hodson <oth@google.com> | Wed Sep 14 09:53:07 2022 +0100 |
tree | e1c48b8bb0f8638abe7e1f42c8b064a319039b65 | |
parent | 51766ce04f430fc56780d3e0f9d1a01ee3dee917 [diff] |
Prefer valueOf() to boxed primitive constructors Constructors for boxed primitives (Byte, Short, Integer, etc) have long been deprecated. The preferred pattern is to use valueOf(). d8 fails to convert these instances in TypedProperties, most likely due to the method complexity. Bug: N/A Test: Treehugger Change-Id: Ib58ecc853e2bd1e5d53e9ec256ef0467aa051d9f