You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by jo...@apache.org on 2021/08/02 03:40:48 UTC

[mina] 03/15: Adds unique identifier to toString() result

This is an automated email from the ASF dual-hosted git repository.

johnnyv pushed a commit to branch bugfix/DIRMINA1132
in repository https://gitbox.apache.org/repos/asf/mina.git

commit f75a710d75ee20a87116c783e8f967e52197b82f
Author: Jonathan Valliere <jo...@apache.org>
AuthorDate: Sat Jul 24 11:14:12 2021 -0400

    Adds unique identifier to toString() result
---
 .../src/main/java/org/apache/mina/core/buffer/AbstractIoBuffer.java     | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mina-core/src/main/java/org/apache/mina/core/buffer/AbstractIoBuffer.java b/mina-core/src/main/java/org/apache/mina/core/buffer/AbstractIoBuffer.java
index cc8c758..15ac0ed 100644
--- a/mina-core/src/main/java/org/apache/mina/core/buffer/AbstractIoBuffer.java
+++ b/mina-core/src/main/java/org/apache/mina/core/buffer/AbstractIoBuffer.java
@@ -1317,6 +1317,8 @@ public abstract class AbstractIoBuffer extends IoBuffer {
 		} else {
 			buf.append("HeapBuffer");
 		}
+		buf.append("@");
+		buf.append(Integer.toHexString(super.hashCode()));
 		buf.append("[pos=");
 		buf.append(position());
 		buf.append(" lim=");