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

KAFKA-10850: Use 'Int.box' to replace deprecated 'new Integer' from BrokerToControllerRequestThreadTest #9760

Merged
merged 2 commits into from Dec 17, 2020

Conversation

govi20
Copy link
Contributor

@govi20 govi20 commented Dec 16, 2020

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.

Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@govi20
Copy link
Contributor Author

govi20 commented Dec 16, 2020

Hi @chia7712 , can you please review this PR?

Copy link
Contributor

@chia7712 chia7712 left a comment

Choose a reason for hiding this comment

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

@govi20 Thanks for your patch. LGTM

@chia7712
Copy link
Contributor

@govi20 It seems we don't need to box the primitive type as scala compiler complete the conversion for us, right?

@govi20
Copy link
Contributor Author

govi20 commented Dec 17, 2020

@govi20 It seems we don't need to box the primitive type as scala compiler complete the conversion for us, right?

Yes, seems we can replace Int.box with value.

@chia7712 chia7712 merged commit f8b2656 into apache:trunk Dec 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants