commit | 9524178a7300a939242b78017f3dfa8014d4ca6d | [log] [tgz] |
---|---|---|
author | Przemyslaw Szczepaniak <pszczepaniak@google.com> | Tue Oct 27 13:18:01 2015 +0000 |
committer | Przemyslaw Szczepaniak <pszczepaniak@google.com> | Mon Nov 16 17:31:19 2015 +0000 |
tree | 560b8de46207c2a77400b1809bb97a569a5ebd02 | |
parent | a5f312ce8bab81a5e658f4603874c98d95844c43 [diff] |
Optimize StringBuffer/Builder#appendFloat/Double/Boolean Moved FloatingDecimal from sun.misc to java.lang package, so it can access AbstractStringBuilder class (and do not duplicate same code for the StringBuffer and the StringBuilder). FloatingDecimal is no longer instantiated, but accessed from thread local storage and reused. Change-Id: Id1c45cfe6f6a8b30b8550fc04ed1976772f28905