Skip to content

introduce private method to remove clones#22100

Open
aaaZayne wants to merge 1 commit intoapache:trunkfrom
aaaZayne:clone-revise
Open

introduce private method to remove clones#22100
aaaZayne wants to merge 1 commit intoapache:trunkfrom
aaaZayne:clone-revise

Conversation

@aaaZayne
Copy link
Copy Markdown

Extracted the same logic into a separate method addTopicIfAtOrAfterCursor to simplify logic

@github-actions github-actions Bot added triage PRs from the community core Kafka Broker small Small PRs labels Apr 20, 2026
@github-actions
Copy link
Copy Markdown

A label of 'needs-attention' was automatically added to this PR in order to raise the
attention of the committers. Once this issue has been triaged, the triage label
should be removed to prevent this automation from happening again.

Copy link
Copy Markdown
Member

@AndrewJSchofield AndrewJSchofield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. Just one comment.

});
} else {
request.topics().forEach(topic -> {
String topicName = topic.name();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: There's no reason for this variable in the refactored code I think.

@github-actions github-actions Bot removed the triage PRs from the community label Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-approved core Kafka Broker small Small PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants