This is an automated email from the ASF dual-hosted git repository. mapohl pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/flink.git
commit 9a4119f9842c45346ae17ba6caf2c6b4b5aa0854 Author: Matthias Pohl <matthias.p...@aiven.io> AuthorDate: Wed Jul 5 14:17:36 2023 +0200 [hotfix][runtime] Removes unused members and fixed typo Signed-off-by: Matthias Pohl <matthias.p...@aiven.io> --- .../flink/runtime/leaderelection/DefaultLeaderElectionService.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/leaderelection/DefaultLeaderElectionService.java b/flink-runtime/src/main/java/org/apache/flink/runtime/leaderelection/DefaultLeaderElectionService.java index 83b0504c234..45d1d1092c4 100644 --- a/flink-runtime/src/main/java/org/apache/flink/runtime/leaderelection/DefaultLeaderElectionService.java +++ b/flink-runtime/src/main/java/org/apache/flink/runtime/leaderelection/DefaultLeaderElectionService.java @@ -54,11 +54,6 @@ public class DefaultLeaderElectionService extends DefaultLeaderElection.ParentSe private static final String LEADER_ACQUISITION_EVENT_LOG_NAME = "Leader Acquisition"; private static final String LEADER_REVOCATION_EVENT_LOG_NAME = "Leader Revocation"; - private static final String SINGLE_LEADER_INFORMATION_CHANGE_EVENT_LOG_NAME = - "Single LeaderInformation Change"; - private static final String ALL_LEADER_INFORMATION_CHANGE_EVENT_LOG_NAME = - "All LeaderInformation Change"; - private final Object lock = new Object(); private final LeaderElectionDriverFactory leaderElectionDriverFactory; @@ -79,7 +74,7 @@ public class DefaultLeaderElectionService extends DefaultLeaderElection.ParentSe /** * Saves the {@link LeaderInformation} for the registered {@link LeaderContender}s. There's no - * semantical difference between an entry with an empty {@code LeaderInformation} and no entry + * semantic difference between an entry with an empty {@code LeaderInformation} and no entry * being present at all here. Both mean that no confirmed {@code LeaderInformation} is available * for the corresponding {@code contenderID}. */