From 4e99a8e7feedabdd15a8ca8496e0c60aa5aee048 Mon Sep 17 00:00:00 2001 From: YANGJINJUE <32013488+YANGJINJUE@users.noreply.github.com> Date: Tue, 12 Nov 2019 21:12:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E8=AF=A5=E4=B8=80=E4=B8=AA=E6=98=AF?= =?UTF-8?q?=E5=BA=8F=E5=88=97=E5=8C=96=E4=B8=80=E4=B8=AA=E6=98=AF=E5=8F=8D?= =?UTF-8?q?=E5=BA=8F=E5=88=97=E5=8C=96=20(#191)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix unit test bug in class NormalStringCustomSerializer. --- .../remoting/rpc/serializer/NormalStringCustomSerializer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/alipay/remoting/rpc/serializer/NormalStringCustomSerializer.java b/src/test/java/com/alipay/remoting/rpc/serializer/NormalStringCustomSerializer.java index d60437e5..778b452b 100644 --- a/src/test/java/com/alipay/remoting/rpc/serializer/NormalStringCustomSerializer.java +++ b/src/test/java/com/alipay/remoting/rpc/serializer/NormalStringCustomSerializer.java @@ -95,7 +95,7 @@ public byte getContentDeserialier() { public void reset() { this.contentDeserialier = -1; - this.contentDeserialier = -1; + this.contentSerializer = -1; this.deserialFlag.set(false); this.serialFlag.set(false); }