hangc0276 commented on code in PR #2024:
URL: https://github.com/apache/zookeeper/pull/2024#discussion_r1261357613


##########
zookeeper-jute/src/main/java/org/apache/jute/BinaryOutputArchive.java:
##########
@@ -34,6 +34,8 @@ public class BinaryOutputArchive implements OutputArchive {
 
     private DataOutput out;
 
+    private long dataSize;

Review Comment:
   We need to initialize the `dataSize` to 0



##########
zookeeper-jute/src/main/java/org/apache/jute/ToStringOutputArchive.java:
##########
@@ -32,6 +32,7 @@ public class ToStringOutputArchive implements OutputArchive {
 
     private PrintStream stream;
     private boolean isFirst = true;
+    private long dataSize;

Review Comment:
   Need initialize to 0



-- 
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: notifications-unsubscr...@zookeeper.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to