OSDN Git Service

Avoid redundant Long allocation before unboxing
authorTobias Thierer <tobiast@google.com>
Thu, 21 Apr 2016 13:45:43 +0000 (14:45 +0100)
committerTobias Thierer <tobiast@google.com>
Thu, 21 Apr 2016 13:45:59 +0000 (14:45 +0100)
commitdbeb6eee5e54c420e64d87a39b2533231fb41c47
tree8dec7b43746439709ab557599a7519d99ffce529
parent9d7c524c9bd603b1df9e88132f7ea4d59dab44a3
Avoid redundant Long allocation before unboxing

long x = Long.valueOf(s) --> Long.parseLong()

Bug: 28289401
Change-Id: I0a6766d44a522b6dd5c7afc5e81ebe135103315e
test/099-vmdebug/src/Main.java