tisonkun commented on code in PR #430: URL: https://github.com/apache/curator/pull/430#discussion_r919596459
########## curator-recipes/src/main/java/org/apache/curator/framework/recipes/leader/LeaderLatch.java: ########## @@ -604,7 +604,7 @@ else if ( ourIndex == 0 ) @Override public void process(WatchedEvent event) { - if ( (state.get() == State.STARTED) && (event.getType() == Event.EventType.NodeDeleted) && (localOurPath != null) ) Review Comment: In this situation `localOurPath` must be not null. -- 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: dev-unsubscr...@curator.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org