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

minor improvement error handler related #2970

Merged

Conversation

Wzy19930507
Copy link
Contributor

  • remove FailedRecordProcessor.retryListeners, reuse FailureTracker's retryListeners
  • cleanup related to error handlers

* remove `FailedRecordProcessor.retryListeners`, reuse FailureTracker's retryListeners
* cleanup related to error handlers
@@ -150,7 +150,7 @@ public void setRetryListeners(RetryListener... listeners) {
this.retryListeners.addAll(Arrays.asList(listeners));
}

List<RetryListener> getRetryListeners() {
protected List<RetryListener> getRetryListeners() {
Copy link
Contributor

Choose a reason for hiding this comment

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

The class itself is package-protected. Why did you make this method protected.?

Copy link
Contributor Author

@Wzy19930507 Wzy19930507 Dec 22, 2023

Choose a reason for hiding this comment

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

Thanks for you review, package-protected is much better.

@sobychacko
Copy link
Contributor

@Wzy19930507 One comment. Otherwise, it looks good.

@sobychacko sobychacko added this to the 3.1.2 milestone Dec 22, 2023
@sobychacko sobychacko merged commit 48258df into spring-projects:main Dec 22, 2023
2 checks passed
@Wzy19930507 Wzy19930507 deleted the minor-improve-on-error-handler branch December 22, 2023 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants