Skip to content

Ambiguous JavaDoc for checkAnd* Methods #19

Description

@maroderus

For example checkAndReplace:

...
If the id doesn't exist, the function returns false (no exception is thrown).
...

@return True if the condition is true for the document otherwise false

This means that in case the method returns false, there is no way to distinguish between a non-existing document and a false condition.

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