XComp commented on code in PR #22959:
URL: https://github.com/apache/flink/pull/22959#discussion_r1255598263
##########
flink-runtime/src/main/java/org/apache/flink/runtime/leaderelection/DefaultLeaderElection.java:
##########
@@ -56,4 +56,40 @@ public boolean hasLeadership(UUID leaderSessionId) {
public void close() throws Exception {
parentService.remove(contenderID);
}
+
+ /**
+ * {@link ParentService} is introduced to define the protocol between
{@link
+ * LeaderElectionService} and {@link LeaderElection}.
+ */
+ abstract static class ParentService {
Review Comment:
Looks like a was bad in grepping the code for this code snippet. There are
plenty of occurrences for your way and there is a spotless rule for that order.
I changed it back to make the CI build succeed.
--
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]