From 8afcaa0b34e79a335486bdaddf4cd0ea4e39bffc Mon Sep 17 00:00:00 2001 From: Redkale <8730487+redkale@users.noreply.github.com> Date: Tue, 18 Dec 2018 09:41:20 +0800 Subject: [PATCH] --- src/org/redkale/net/AsyncConnection2.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/redkale/net/AsyncConnection2.java b/src/org/redkale/net/AsyncConnection2.java index 469d29a71..ea9dd54a2 100644 --- a/src/org/redkale/net/AsyncConnection2.java +++ b/src/org/redkale/net/AsyncConnection2.java @@ -118,7 +118,7 @@ public abstract class AsyncConnection2 implements ReadableByteChannel, WritableB public abstract void write(ByteBuffer[] srcs, int offset, int length, A attachment, CompletionHandler handler); public void setReadBuffer(ByteBuffer buffer) { - if (this.readBuffer != null) throw new RuntimeException("repeat AsyncConnection.currentReadBuffer"); + if (this.readBuffer != null) throw new RuntimeException("repeat AsyncConnection.setReadBuffer"); this.readBuffer = buffer; }