DonalEvans commented on a change in pull request #7105:
URL: https://github.com/apache/geode/pull/7105#discussion_r762357381
##########
File path:
geode-for-redis/src/main/java/org/apache/geode/redis/internal/data/delta/AddsDeltaInfo.java
##########
@@ -42,10 +39,9 @@ public void add(byte[] delta) {
public void serializeTo(DataOutput out) throws IOException {
DataSerializer.writeEnum(ADDS, out);
- DataSerializer.writeArrayList(deltas, out);
- }
-
- public List<byte[]> getAdds() {
- return deltas;
+ InternalDataSerializer.writeArrayLength(deltas.size(), out);
+ for (byte[] bytes : deltas) {
+ DataSerializer.writeByteArray(bytes, out);
+ }
Review comment:
Sorry, yes, that was a typo.
--
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]