Skip to content

Remove redundant explicit super()#695

Closed
jonatasemidio wants to merge 1 commit into
iluwatar:masterfrom
jonatasemidio:patch-1
Closed

Remove redundant explicit super()#695
jonatasemidio wants to merge 1 commit into
iluwatar:masterfrom
jonatasemidio:patch-1

Conversation

@jonatasemidio

Copy link
Copy Markdown

Remove redundant explicit super() constructor calls #694

Remove redundant explicit super() constructor

The super() calls (taking no arguments) are inserted during compile time, so just make the code more verbose than required.

Remove redundant explicit super() constructor calls [iluwatar#694](iluwatar#694)
@olcbean

olcbean commented Jan 12, 2018

Copy link
Copy Markdown
Contributor

I think there are a few more occurrences of super(). @jonatasemidio do you have time to remove them too?

@jonatasemidio

jonatasemidio commented Jan 12, 2018

Copy link
Copy Markdown
Author

Hi @olcbean is totally fine, but now I need to check if it is necessary because @james-a-roland created another and more complete PR (#697).

@iluwatar, another consideration... I know that grep can find all occurrences, but we might have some samples that super() calls some father's constructors.

Hi @james-a-roland, To solve #694 ... How did you checked all super() occurrences?

@jonatasemidio

Copy link
Copy Markdown
Author

Sorry @iluwatar and @james-a-roland... You don't need to answer here because I've already add the last comment in the right discussion #694

@iluwatar iluwatar left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

The pull request seems incomplete. There are many other occurrences.

@iluwatar iluwatar closed this Jan 13, 2018
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.

3 participants