Skip to content

Commit c52ffd1

Browse files
committed
adding st8formatsupport field to copy c'tor & equals
1 parent cd938e1 commit c52ffd1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

msgpack-core/src/main/java/org/msgpack/core/MessagePack.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ private PackerConfig(PackerConfig copy)
258258
this.smallStringOptimizationThreshold = copy.smallStringOptimizationThreshold;
259259
this.bufferFlushThreshold = copy.bufferFlushThreshold;
260260
this.bufferSize = copy.bufferSize;
261+
this.str8FormatSupport = copy.str8FormatSupport;
261262
}
262263

263264
@Override
@@ -275,7 +276,8 @@ public boolean equals(Object obj)
275276
PackerConfig o = (PackerConfig) obj;
276277
return this.smallStringOptimizationThreshold == o.smallStringOptimizationThreshold
277278
&& this.bufferFlushThreshold == o.bufferFlushThreshold
278-
&& this.bufferSize == o.bufferSize;
279+
&& this.bufferSize == o.bufferSize
280+
&& this.str8FormatSupport == o.str8FormatSupport;
279281
}
280282

281283
/**

0 commit comments

Comments
 (0)