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

fix findbugs in ksql-common #415

Merged
merged 1 commit into from
Oct 26, 2017
Merged

Conversation

dguy
Copy link
Contributor

@dguy dguy commented Oct 25, 2017

fix various warnings in ksql-common #412

@dguy
Copy link
Contributor Author

dguy commented Oct 25, 2017

retest this please

Copy link
Contributor

@apurvam apurvam left a comment

Choose a reason for hiding this comment

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

LGTM thanks!

} else {
ksqlStreamConfigProps.put(propKey.toString(), props.get(propKey));
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm. What's the findbugs suggestion here? Possible NPE?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is the for loop. performance optimization to iterate over the entrySet rather than keySet and get

@dguy dguy merged commit d6c7a43 into confluentinc:4.0.x Oct 26, 2017
@dguy dguy deleted the ksal-common-findbugs branch October 26, 2017 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants