commit | a724fb3956959071c6a9100cc3e718f368d9eec1 | [log] [tgz] |
---|---|---|
author | Karel Rank <karel.rank@gmail.com> | Mon Oct 06 06:50:43 2014 +0200 |
committer | Karel Rank <karel.rank@gmail.com> | Mon Oct 06 06:50:43 2014 +0200 |
tree | 9b59cff52b6ceb9181300085bdcfcbb2226bc94b | |
parent | 89c07b613b5c255d99fba7edbe0a568a9a06bb5e [diff] |
Fix rendering of arrays in ToStringHelper.renderArray StringBuilder or StringBuffer doesn't have constructor for char. See below Reports any new StringBuffer() and new StringBuilder() calls with an argument with type char. Such an argument is silently casted to an integer used to specify the length of the buffer. Usually this is not what was intended.