Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MINOR: fix generics in streams-test-utils package #17206

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

mjsax
Copy link
Member

@mjsax mjsax commented Sep 16, 2024

No description provided.

@mjsax mjsax added the streams label Sep 16, 2024
@@ -1167,24 +1167,14 @@ public void close() {
}

static class MockChangelogRegister implements ChangelogRegister {
private final Set<TopicPartition> restoringPartitions = new HashSet<>();
Copy link
Member Author

Choose a reason for hiding this comment

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

unused; can be removed

@@ -165,7 +165,7 @@ public long timestamp() {
*
* @return A key/value pair. Not null.
*/
@SuppressWarnings({"WeakerAccess", "unused"})
@SuppressWarnings({"WeakerAccess", "unused", "rawtypes"})
public KeyValue keyValue() {
Copy link
Member Author

Choose a reason for hiding this comment

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

Cannot change this to return type to KeyValue<?, ?> as it's public API and might break existing code if changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant