Skip to content

Improve ObjectIdGenerators.key() to handle null appropriately by returning null #56

@cowtowncoder

Description

@cowtowncoder

Currently calling ObjectIdGenerators.key(Object) with null key throws an NPE. Instead it should return null. Callers should not necessarily call this method with null, but in case they do, it should not fail.

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