Skip to content

Lack of NonNull anotations in factory methods #6309

@MikolajKakol

Description

@MikolajKakol

I was wondering if there shouldn't be an @javax.annotation.Nonnull it methods like:
Single.just
Observable.just
Observable.fromX
etc?

It would improve code quality on client side, since IDE might help detect early and compiler would print warning.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions