Skip to content

Comments

refactor: remove redundant 'super' call from SpoonClassFileTransformerTest.java#2678

Merged
pvojtechovsky merged 3 commits intoINRIA:masterfrom
zielint0:refactor-remove-redundant-super-from-SpoonClassFileTransformerTest.java
Oct 17, 2018
Merged

refactor: remove redundant 'super' call from SpoonClassFileTransformerTest.java#2678
pvojtechovsky merged 3 commits intoINRIA:masterfrom
zielint0:refactor-remove-redundant-super-from-SpoonClassFileTransformerTest.java

Conversation

@zielint0
Copy link
Contributor

@zielint0 zielint0 commented Oct 17, 2018

Code inspection

  • Unnecessary call to 'super'

Reports any no-argument calls to a superclass constructor as the first call of a constructor. Such calls are unnecessary, and may be removed.

The only useful super are: super.f(); and super(10); - call method from super class and sent argument to super class constructor.

@pvojtechovsky pvojtechovsky merged commit 31ccc3b into INRIA:master Oct 17, 2018
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