Skip to content

Stream ofNullable should have Nullable parameter - #177

Merged
mernst merged 2 commits into
typetools:masterfrom
agentgt:stream_ofNullable
Aug 17, 2023
Merged

mernst merged 2 commits into
typetools:masterfrom
agentgt:stream_ofNullable

Conversation

@agentgt

@agentgt agentgt commented Aug 16, 2023

Copy link
Copy Markdown

Given that Optional.ofNullable takes @Nullable Stream.ofNullable should as well.
Currently this breaks our code as nonnull is required.

agentgt and others added 2 commits August 16, 2023 12:31
Given that Optional.ofNullable takes `@Nullable` Stream.ofNullable should as well.
@mernst

mernst commented Aug 16, 2023

Copy link
Copy Markdown
Member

You are correct. Thanks for the annotation.

@mernst
mernst merged commit ccdfdd4 into typetools:master Aug 17, 2023
cpovirk added a commit to jspecify/jdk that referenced this pull request Sep 6, 2023
See typetools/jdk#177

(We already have the annotation on `ofNullable`, so we don't need to
carry that over.)
cpovirk added a commit to jspecify/jdk that referenced this pull request Sep 6, 2023
See typetools/jdk#177

(We already have the annotation on `ofNullable`, so we don't need to
carry that over.)
cpovirk added a commit to jspecify/jdk that referenced this pull request Sep 6, 2023
See typetools/jdk#177

(We already have the annotation on `ofNullable`, so we don't need to
carry that over.)

(#41)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants