LiangliangSui commented on code in PR #2999:
URL: https://github.com/apache/fory/pull/2999#discussion_r2596967789
##########
java/fory-core/src/main/java/org/apache/fory/serializer/collection/CollectionLikeSerializer.java:
##########
@@ -550,6 +552,21 @@ public void copyElements(Collection originCollection,
Object[] elements) {
}
}
+ public void copyElementsAddAll(Collection originCollection, Collection
newCollection) {
Review Comment:
The `copyElementsAddAll` method requires a `TypeResolver` and cannot be made
static. It also cannot be placed in the `CollectionSerializers`.
If it needs to be further downgraded, it can only be placed in the
`ConcurrentCollectionSerializer`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]