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

RedundantMethodReference check to avoid unnecessary method references #1069

Merged
merged 2 commits into from
Nov 25, 2019

Conversation

carterkozak
Copy link
Contributor

Before this PR

- optional.orElseGet(supplier::get);
+ optional.orElseGet(supplier);

After this PR

==COMMIT_MSG==
RedundantMethodReference check to avoid unnecessary method references
==COMMIT_MSG==

```diff
- optional.orElseGet(supplier::get);
+ optional.orElseGet(supplier);
```
@changelog-app
Copy link

changelog-app bot commented Nov 25, 2019

Generate changelog in changelog/@unreleased

Type

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

Description

RedundantMethodReference check to avoid unnecessary method references

Check the box to generate changelog(s)

  • Generate changelog entry

@policy-bot policy-bot bot requested a review from ferozco November 25, 2019 17:48
@bulldozer-bot bulldozer-bot bot merged commit f47ce45 into develop Nov 25, 2019
@bulldozer-bot bulldozer-bot bot deleted the ckozak/RedundantMethodReference branch November 25, 2019 18:43
This was referenced Nov 27, 2019
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.

2 participants