Skip to content

Conversation

@carterkozak
Copy link
Contributor

@carterkozak carterkozak commented Jan 27, 2020

Before this PR

- forEach((long value) -> action.accept(value));
+ forEach(long value -> action.accept(value)); // does not compile

This makes the check safer when unknown inputs are encountered.

After this PR

==COMMIT_MSG==
Fix UnnecessaryLambdaArgumentParentheses handling explicitly typed primitive lambda args
==COMMIT_MSG==

@changelog-app
Copy link

changelog-app bot commented Jan 27, 2020

Generate changelog in changelog/@unreleased

Type

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

Description

Fix UnnecessaryLambdaArgumentParentheses handling explicitly typed primitive lambda args

Check the box to generate changelog(s)

  • Generate changelog entry

@policy-bot policy-bot bot requested a review from CRogers January 27, 2020 19:46
@ferozco
Copy link
Contributor

ferozco commented Jan 27, 2020

👍 thanks carter!

@bulldozer-bot bulldozer-bot bot merged commit 548c8a0 into develop Jan 27, 2020
@bulldozer-bot bulldozer-bot bot deleted the ckozak/UnnecessaryLambdaArgumentParentheses_fix branch January 27, 2020 19:56
@svc-autorelease
Copy link
Collaborator

Released 3.1.1

This was referenced Jan 27, 2020
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.

4 participants