Skip to content

NPE in Version.equals() if snapshot-info nullΒ #1141

@TimSchweers

Description

@TimSchweers

Hi!

The Version.equals implementation updated with 2.16.0 for comparing snapshots raises an NPE if snapshotInfo is null.
I recommend to sanitize the snapshoptInfo within constructor as done for groupId and artifactId.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.16Issue planned (at earliest) for 2.16

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions