Skip to content

GH-3132: Remove usage of super(); #3134

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 1 commit into from
Dec 27, 2019

Conversation

artembilan
Copy link
Member

Fixes #3132

It turns out that Checkstyle EmptyBlock doesn't complain about
empty default ctor.
Plus a new check for super(); call treats it as a violation

  • Remove super(); from all the no-arg ctors

  • Code style clean up in the affected classes according
    IDEA suggestions

  • Fix new Sonar smells

Fixes spring-projects#3132

It turns out that Checkstyle EmptyBlock doesn't complain about
empty default ctor.
Plus a new check for `super();` call treats it as a violation

* Remove `super();` from all the no-arg ctors
* Code style clean up in the affected classes according
IDEA suggestions

* Fix new Sonar smells
@garyrussell garyrussell merged commit 5ac262f into spring-projects:master Dec 27, 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.

Remove calls to no-arg superclass constructor
2 participants