You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by el...@apache.org on 2022/02/09 06:45:42 UTC

[mina] branch 2.0.X updated: Fixed an infinite loop

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

elecharny pushed a commit to branch 2.0.X
in repository https://gitbox.apache.org/repos/asf/mina.git


The following commit(s) were added to refs/heads/2.0.X by this push:
     new 88fc363  Fixed an infinite loop
88fc363 is described below

commit 88fc363d76978bc1ca3f54f5f158492bafce65d9
Author: emmanuel lecharny <el...@apache.org>
AuthorDate: Wed Feb 9 07:45:26 2022 +0100

    Fixed an infinite loop
---
 .../src/main/java/org/apache/mina/core/buffer/IoBufferHexDumper.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mina-core/src/main/java/org/apache/mina/core/buffer/IoBufferHexDumper.java b/mina-core/src/main/java/org/apache/mina/core/buffer/IoBufferHexDumper.java
index c9f3763..5050b9f 100644
--- a/mina-core/src/main/java/org/apache/mina/core/buffer/IoBufferHexDumper.java
+++ b/mina-core/src/main/java/org/apache/mina/core/buffer/IoBufferHexDumper.java
@@ -106,7 +106,7 @@ class IoBufferHexDumper {
         final StringBuilder sb = new StringBuilder();
 
         sb.append("Source ");
-        sb.append(buf);
+        sb.append("0x").append(Integer.toHexString(buf.hashCode()));
         sb.append(" showing index ");
         sb.append(offset);
         sb.append(" through ");