Skip to content

Make IOS.setTaskScheduler() as public #2725

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

Merged
merged 4 commits into from
Jan 30, 2019

Conversation

artembilan
Copy link
Member

  • Make IntegrationObjectSupport.setTaskScheduler() as public and
    remove all the overrides for visibility
  • Fix Sonar smells for all the affected classes

* Make `IntegrationObjectSupport.setTaskScheduler()` as `public` and
remove all the overrides for visibility
* Fix Sonar smells for all the affected classes
@@ -125,7 +119,7 @@ protected void onInit() {
}

@Override
public void destroy() throws Exception {
public void destroy() {
Copy link
Contributor

Choose a reason for hiding this comment

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

We can't do this - breaking change for anyone that has subclassed and implemented destroy().

I suggest we use // NOSONAR TODO: remove throws in 5.2, which removing it from our subclasses.

Copy link
Member Author

Choose a reason for hiding this comment

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

OK.
Do we remove from our subclasses now as I did in this PR?

Sorry, if I misunderstood you...

* Revert `throws Exception` for `AbstractEndpoint.destroy()`
@artembilan
Copy link
Member Author

Is the latest commit OK?

@garyrussell
Copy link
Contributor

LGTM; let's see if Mr. Travis agrees.

@artembilan
Copy link
Member Author

OK. It's green finally! 😄

@garyrussell garyrussell merged commit 020ea76 into spring-projects:master Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants