Skip to content

Conversation

@carterkozak
Copy link
Contributor

==COMMIT_MSG==
Implement ImmutableMapDuplicateKeyStrategy for obvious map construction. By default we suggest replacing build() with the more descriptive buildOrThrow(), however buildKeepingLast() may be the original intent in some cases.
==COMMIT_MSG==

Possible downsides?

Code churn

@changelog-app
Copy link

changelog-app bot commented Sep 30, 2022

Generate changelog in changelog/@unreleased

Type

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

Description

Implement ImmutableMapDuplicateKeyStrategy for obvious map construction. By default we suggest replacing build() with the more descriptive buildOrThrow(), however buildKeepingLast() may be the original intent in some cases.

Check the box to generate changelog(s)

  • Generate changelog entry

Copy link
Contributor

@schlosna schlosna left a comment

Choose a reason for hiding this comment

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

Thanks for adding this. I'm curious to see the generated excavators as this rolls out.

@bulldozer-bot bulldozer-bot bot merged commit bd6ec57 into develop Sep 30, 2022
@bulldozer-bot bulldozer-bot bot deleted the ckozak/immutablemap_build branch September 30, 2022 01:29
@svc-autorelease
Copy link
Collaborator

Released 4.179.0

bulldozer-bot bot pushed a commit to palantir/witchcraft-api that referenced this pull request Sep 30, 2022
###### _excavator_ is a bot for automating changes across repositories.

Changes produced by the roomba/latest-baseline-oss check.

# Release Notes
## 4.179.0
| Type | Description | Link |
| ---- | ----------- | ---- |
| Improvement | Implement ImmutableMapDuplicateKeyStrategy for obvious map construction. By default we suggest replacing `build()` with the more descriptive `buildOrThrow()`, however `buildKeepingLast()` may be the original intent in some cases. | palantir/gradle-baseline#2416 |



To enable or disable this check, please contact the maintainers of Excavator.
This was referenced Sep 30, 2022
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.

5 participants