MINOR: Fix typo "Exsiting" -> "Existing" (#11547)

Co-authored-by: Kurt Ostfeld <kurt@samba.tv>
Reviewers: Kvicii <Karonazaba@gmail.com>, Luke Chen <showuon@gmail.com>, David Jacot <djacot@confluent.io>
This commit is contained in:
kurtostfeld 2022-02-01 04:09:04 -06:00 committed by GitHub
parent 31081e6ec4
commit 830d83e2cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -42,7 +42,7 @@ public class ChangelogTopics {
private final Map<TaskId, Set<TopicPartition>> preExistingChangelogPartitionsForTask = new HashMap<>();
private final Set<TopicPartition> preExistingNonSourceTopicBasedChangelogPartitions = new HashSet<>();
private final Set<String> sourceTopicBasedChangelogTopics = new HashSet<>();
private final Set<TopicPartition> preExsitingSourceTopicBasedChangelogPartitions = new HashSet<>();
private final Set<TopicPartition> preExistingSourceTopicBasedChangelogPartitions = new HashSet<>();
private final Logger log;
public ChangelogTopics(final InternalTopicManager internalTopicManager,
@ -106,7 +106,7 @@ public class ChangelogTopics {
if (!sourceTopicBasedChangelogTopics.contains(topicPartition.topic())) {
preExistingNonSourceTopicBasedChangelogPartitions.add(topicPartition);
} else {
preExsitingSourceTopicBasedChangelogPartitions.add(topicPartition);
preExistingSourceTopicBasedChangelogPartitions.add(topicPartition);
}
}
}
@ -125,7 +125,7 @@ public class ChangelogTopics {
}
public Set<TopicPartition> preExistingSourceTopicBasedPartitions() {
return Collections.unmodifiableSet(preExsitingSourceTopicBasedChangelogPartitions);
return Collections.unmodifiableSet(preExistingSourceTopicBasedChangelogPartitions);
}
public Set<TaskId> statefulTaskIds() {

View File

@ -173,7 +173,7 @@ public class RocksDBMetricsRecorderTest {
}
@Test
public void shouldThrowIfStatisticsToAddIsNotNullButExsitingStatisticsAreNull() {
public void shouldThrowIfStatisticsToAddIsNotNullButExistingStatisticsAreNull() {
recorder.addValueProviders(SEGMENT_STORE_NAME_1, dbToAdd1, cacheToAdd1, null);
final Throwable exception = assertThrows(
@ -190,7 +190,7 @@ public class RocksDBMetricsRecorderTest {
}
@Test
public void shouldThrowIfStatisticsToAddIsNullButExsitingStatisticsAreNotNull() {
public void shouldThrowIfStatisticsToAddIsNullButExistingStatisticsAreNotNull() {
recorder.addValueProviders(SEGMENT_STORE_NAME_1, dbToAdd1, cacheToAdd1, statisticsToAdd1);
final Throwable exception = assertThrows(
@ -207,7 +207,7 @@ public class RocksDBMetricsRecorderTest {
}
@Test
public void shouldThrowIfCacheToAddIsNullButExsitingCacheIsNotNull() {
public void shouldThrowIfCacheToAddIsNullButExistingCacheIsNotNull() {
recorder.addValueProviders(SEGMENT_STORE_NAME_1, dbToAdd1, null, statisticsToAdd1);
final Throwable exception = assertThrows(