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

refactor: fix code inspection - qualified static access #2345

Merged
merged 1 commit into from
Aug 6, 2018
Merged

refactor: fix code inspection - qualified static access #2345

merged 1 commit into from
Aug 6, 2018

Conversation

zielint0
Copy link
Contributor

@zielint0 zielint0 commented Aug 3, 2018

  • Unqualified static access: 408 cases
  • Unnecessarily qualified static access: 5 cases

There is no need to prefix static fields&methods inside its own class.
All Spoon classes use direct static acces static_method_invocation(),
not prefixed: X.static_method_invocation().

I normalized 5 cases with not needed prefixes.

Inside BlockTemplate class:
BlockTemplate.getBlock(c) -> getBlock(c)

I am ready to merge.

@surli surli merged commit 1613085 into INRIA:master Aug 6, 2018
@monperrus monperrus mentioned this pull request Sep 20, 2018
4 tasks
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