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

Refaster rule to remove unnecessary supplier creation #1059

Merged
merged 3 commits into from
Nov 20, 2019

Conversation

carterkozak
Copy link
Contributor

- foo.withSupplier(() -> supplier.get());
+ foo.withSupplier(supplier);

After this PR

==COMMIT_MSG==
Refaster rule to remove unnecessary supplier creation
==COMMIT_MSG==

@changelog-app
Copy link

changelog-app bot commented Nov 20, 2019

Generate changelog in changelog/@unreleased

Type

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

Description

Refaster rule to remove unnecessary supplier creation

Check the box to generate changelog(s)

  • Generate changelog entry

@bulldozer-bot bulldozer-bot bot merged commit 686d71f into develop Nov 20, 2019
@bulldozer-bot bulldozer-bot bot deleted the ckozak/simplify_suppliers branch November 20, 2019 18:25
This was referenced Nov 20, 2019
carterkozak added a commit that referenced this pull request Nov 21, 2019
The refaster rule breaks the common pattern:
`Suppliers.memoize(supplier::get)`.

This reverts commit 686d71f.
bulldozer-bot bot pushed a commit that referenced this pull request Nov 21, 2019
#1063)

Revert "Refaster rule to remove unnecessary supplier creation (#1059)"
The refaster rule breaks the common pattern:
`Suppliers.memoize(supplier::get)`.
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

2 participants