tisonkun commented on code in PR #481:
URL: https://github.com/apache/curator/pull/481#discussion_r1327348419
##########
curator-recipes/src/main/java/org/apache/curator/framework/recipes/leader/LeaderLatch.java:
##########
@@ -200,8 +200,6 @@ private synchronized void internalClose(CloseMode
closeMode, boolean failOnClose
}
}
- Preconditions.checkNotNull(closeMode, "closeMode cannot be null");
Review Comment:
Ensured nonnull and even we can fallback to the default behavior anyway.
--
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]