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

RedundantModifier check validates and fixes final parameters in abstract methods #1303

Merged

Conversation

carterkozak
Copy link
Contributor

Before this PR

interface Foo {
  void f(final int value); // final modifier doesn't do anything!
}

After this PR

==COMMIT_MSG==
RedundantModifier check validates and fixes final parameters in abstract methods
==COMMIT_MSG==

Possible downsides?

A bit of code churn places that use final params unnecessarily. Potential to introduce bugs.

@changelog-app
Copy link

changelog-app bot commented Mar 26, 2020

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

RedundantModifier check validates and fixes final parameters in abstract methods

Check the box to generate changelog(s)

  • Generate changelog entry

@policy-bot policy-bot bot requested a review from fawind March 26, 2020 16:29
Copy link
Contributor

@fawind fawind left a comment

Choose a reason for hiding this comment

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

LGTM. Not sure what to do about the dead links in the readme, though :/

@carterkozak
Copy link
Contributor Author

🤖

@bulldozer-bot bulldozer-bot bot merged commit f3cd84b into develop Mar 27, 2020
@bulldozer-bot bulldozer-bot bot deleted the ckozak/validate_and_fix_abstract_method_final_params branch March 27, 2020 13:57
@svc-autorelease
Copy link
Collaborator

Released 3.9.0

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.

None yet

3 participants