-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[Improve] Refactor the notification sending logic. #2180
Merged
Merged
Changes from 11 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
5c1f2bf
Support jacoco and Codecov
crossoverJie ac73b5b
Merge pull request #3 from crossoverJie/jacoco
crossoverJie e98c477
Merge branch 'apache:master' into master
crossoverJie 3854151
Merge branch 'apache:master' into master
crossoverJie 7537b66
checkstyle include testSource
crossoverJie bee2dfe
Merge remote-tracking branch 'origin/master'
crossoverJie 6e70287
Merge remote-tracking branch 'origin/master'
crossoverJie 9a3587a
Merge remote-tracking branch 'origin/master'
crossoverJie 44b8474
refactor send notify
crossoverJie d7ef23c
Merge branch 'master' into refator-send-nofity
crossoverJie 31d0d30
Merge branch 'master' into refator-send-nofity
tomsun28 110d4d7
fix with cr
crossoverJie 9718903
Merge branch 'master' into refator-send-nofity
crossoverJie 617cc36
Merge branch 'master' into refator-send-nofity
tomsun28 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
hi, the code logic here is to filter out cases where the template id is null, but before the template id was null it would go to use the default file notification template.
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.
Thank you for the reminder. I adjusted the logic;
I moved the template query earlier so it can return exceptions faster, and the code can be more concise.