keith-turner commented on code in PR #5286:
URL: https://github.com/apache/accumulo/pull/5286#discussion_r1943194056
##########
core/src/main/java/org/apache/accumulo/core/zookeeper/ZcNode.java:
##########
@@ -83,13 +116,29 @@ private ZcNode() {
* stat.
*/
ZcNode(byte[] data, ZcStat zstat, ZcNode existing) {
- this.data = Objects.requireNonNull(data);
- this.stat = Objects.requireNonNull(zstat);
Review Comment:
That seems good, moved that to the top. Also noticed some unused code when
making changes and removed that.
--
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]