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

cleaned some code in GenericJsonRecord #10527

Merged
merged 2 commits into from
May 12, 2021

Conversation

abhilashmandaliya
Copy link
Contributor

The do-while loop was executed only once so removed the loop and optimized an inner for-loop to find binaryValue

Motivation

IDE warning

Modifications

Simplified the code

@abhilashmandaliya
Copy link
Contributor Author

@eolivelli @lhotari PTAL

Copy link
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

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

LGTM

@lhotari lhotari added the type/cleanup Code or doc cleanups e.g. remove the outdated documentation or remove the code no longer in use label May 10, 2021
@lhotari lhotari requested a review from hangc0276 May 10, 2021 08:16
Copy link
Contributor

@congbobo184 congbobo184 left a comment

Choose a reason for hiding this comment

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

LGTM!

@abhilashmandaliya
Copy link
Contributor Author

/pulsarbot run-failure-checks

3 similar comments
@abhilashmandaliya
Copy link
Contributor Author

/pulsarbot run-failure-checks

@abhilashmandaliya
Copy link
Contributor Author

/pulsarbot run-failure-checks

@abhilashmandaliya
Copy link
Contributor Author

/pulsarbot run-failure-checks

@hangc0276
Copy link
Contributor

LGTM!

Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

Good work.
I left a suggestion PTAL

the do-while loop was executed only once so removed the loop and optimised an inner for-loop to find binaryValue
@abhilashmandaliya
Copy link
Contributor Author

/pulsarbot run-failure-checks

@eolivelli eolivelli merged commit 24b0d06 into apache:master May 12, 2021
@eolivelli eolivelli added this to the 2.8.0 milestone May 12, 2021
eolivelli pushed a commit to datastax/pulsar that referenced this pull request May 12, 2021
codelipenghui pushed a commit that referenced this pull request Jun 26, 2021
@codelipenghui codelipenghui added the cherry-picked/branch-2.7 Archived: 2.7 is end of life label Jun 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-picked/branch-2.7 Archived: 2.7 is end of life release/2.7.3 type/cleanup Code or doc cleanups e.g. remove the outdated documentation or remove the code no longer in use
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants