Skip to content

Use of map.computeIfPresent instead of map.get+map.put #141

@benjamin-cartereau

Description

@benjamin-cartereau

In WriteProjectProperties, to allow system properties to over write key/value found in maven properties, a map.get+map.put is used.
Since Java 8, a simpler map.computeIfPresent could be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions