Skip to content

remove(key, val) fails with NPE if key does not exist in map #7

@svladykin

Description

@svladykin

It seems that in some places it is needed to return noUpdateResult(func, null) instead of just null. Test case:

SnapTreeMap<Integer, Integer> m = new SnapTreeMap<Integer, Integer>();
m.put(5, 15);
m.remove(10, 10);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions