Skip to content

TemporalQuery.queryFrom should return @Nullable R #125

@chaoren

Description

@chaoren

The documentation says "may return null to indicate not found":

* @return the queried value, may return null to indicate not found

Also, maybe R shouldn't extends @Nullable Object:

public interface TemporalQuery<R extends @Nullable Object> {

since the meaning of a null return value would be ambiguous if R itself is @Nullable.

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