From 14115a92bc2d1e7aa8da06490c4921fa6e17d002 Mon Sep 17 00:00:00 2001 From: huangzw Date: Thu, 22 Dec 2022 10:46:23 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=95=B0=E6=8D=AE=E5=8E=8B=E7=BC=A9?= =?UTF-8?q?=E5=9C=A8=E5=8F=8D=E5=BA=8F=E5=88=97=E5=8C=96=E6=83=85=E5=86=B5?= =?UTF-8?q?=E4=B8=8B=E5=8F=91=E7=94=9F=E6=95=B0=E6=8D=AE=E9=94=99=E8=AF=AF?= =?UTF-8?q?(fst=E5=B0=86string=E5=8F=8D=E5=BA=8F=E5=88=97=E5=8C=96?= =?UTF-8?q?=E4=B8=BAarraylist=E7=9A=84=E9=97=AE=E9=A2=98)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/org/nustaq/serialization/FSTObjectRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/nustaq/serialization/FSTObjectRegistry.java b/src/main/java/org/nustaq/serialization/FSTObjectRegistry.java index 5db2bb4d..664438ee 100644 --- a/src/main/java/org/nustaq/serialization/FSTObjectRegistry.java +++ b/src/main/java/org/nustaq/serialization/FSTObjectRegistry.java @@ -129,7 +129,7 @@ public void registerObjectForRead(Object o, int streamPosition) { * @return 0 if added, handle if already present */ public int registerObjectForWrite(Object o, int streamPosition, FSTClazzInfo clzInfo, int reUseType[]) { - if (disabled) { + if (disabled || true) { return Integer.MIN_VALUE; } // System.out.println("REGISTER AT WRITE:"+streamPosition+" "+o.getClass().getSimpleName());