Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Novice
Description
Use more modern map operations (see below) where this could lead to cleaner code. Check this list for outdated map usages: https://sonarcloud.io/project/issues?resolved=false&rules=java%3AS3824&id=apache_camel
Modern map operations:
- putIfAbsent
- computeIfPresent
- computeIfAbsent
- compute
Note: be careful with changing code in `core` as it could be part of the hot path, and it needs closer inspection.
Attachments
Issue Links
- links to