Including hashcode in BufferUtils.toDetailString()

This commit is contained in:
Joakim Erdfelt 2012-12-07 14:52:32 -07:00
parent 6f098dd69c
commit 11d7617298
1 changed files with 1 additions and 1 deletions

View File

@ -759,7 +759,7 @@ public class BufferUtil
if (buffer.hasArray()) if (buffer.hasArray())
buf.append(Integer.toHexString(((Object)buffer.array()).hashCode())); buf.append(Integer.toHexString(((Object)buffer.array()).hashCode()));
else else
buf.append("?"); buf.append(Integer.toHexString(buf.hashCode()));
buf.append("[p="); buf.append("[p=");
buf.append(buffer.position()); buf.append(buffer.position());
buf.append(",l="); buf.append(",l=");