Repository navigation
[improve][broker]Avoid runtime check hasFilter in EntryFilterSupport - #18066
Merged
Merged
Conversation
AnonHxy
requested review from
HQebupt,
Jason918,
codelipenghui,
eolivelli and
nicoloboschi
October 17, 2022 08:37
nicoloboschi
approved these changes
Oct 17, 2022
codelipenghui
approved these changes
Oct 17, 2022
Codecov Report
@@ Coverage Diff @@
## master #18066 +/- ##
=============================================
+ Coverage 34.91% 46.44% +11.52%
- Complexity 5707 16225 +10518
=============================================
Files 607 1360 +753
Lines 53396 118342 +64946
Branches 5712 12866 +7154
=============================================
+ Hits 18644 54964 +36320
- Misses 32119 57811 +25692
- Partials 2633 5567 +2934
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Contributor
Author
|
/pulsarbot run-failure-checks |
1 similar comment
Contributor
Author
|
/pulsarbot run-failure-checks |
mattisonchao
approved these changes
Oct 18, 2022
Technoboy-
approved these changes
Oct 18, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
A minor improve for entries fiilter by avoid runtime check has filter or not in
EntryFilterSupportand make the code more clear.Modifications
Add a protected final field
hasFilterinEntryFilterSupportVerifying this change
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository:AnonHxy#10