-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Conversation
@eolivelli @lhotari PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
/pulsarbot run-failure-checks |
3 similar comments
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
LGTM! |
There was a problem hiding this 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
pulsar-client/src/main/java/org/apache/pulsar/client/impl/schema/generic/GenericJsonRecord.java
Show resolved
Hide resolved
the do-while loop was executed only once so removed the loop and optimised an inner for-loop to find binaryValue
/pulsarbot run-failure-checks |
(cherry picked from commit 24b0d06)
(cherry picked from commit 24b0d06)
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