commit | c37803833c796ce4209a4d32c42fbfeae3a516a7 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Sat Dec 19 23:39:53 2009 -0800 |
committer | Elliott Hughes <enh@google.com> | Sat Dec 19 23:39:53 2009 -0800 |
tree | c7fd3c6f1138a633211f698271c1e55d13812e15 | |
parent | dd0155c7929b938ceb225515cf48f3bb455bd539 [diff] |
Fix Long.toBinaryString, Long.toHexString, and Long.toOctalString for negative values. Although (int) -1 == (long) -1, Integer.toXString produces a shorter result than Long.toXString should.