Skip to content

Modified description of MoreCollectors.toOptional for increased readability.#5667

Closed
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_388747356
Closed

Modified description of MoreCollectors.toOptional for increased readability.#5667
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_388747356

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Aug 4, 2021

Copy link
Copy Markdown
Contributor

Modified description of MoreCollectors.toOptional for increased readability.

RELNOTES=n/a

@google-cla google-cla Bot added the cla: yes label Aug 4, 2021
* A collector that converts a stream of zero or one elements to an {@code Optional}.
*
* @throws IllegalArgumentException if the stream consists of two or more elements.
* @throws NullPointerException if any element in stream is {@code null}.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* @throws NullPointerException if any element in stream is {@code null}.
* @throws NullPointerException if any element in the stream is {@code null}.

@copybara-service copybara-service Bot changed the title Fix incorrect description for MoreCollectors.toOptional Modified description of MoreCollectors.toOptional for increased readability. Aug 7, 2021
@copybara-service copybara-service Bot force-pushed the test_388747356 branch 4 times, most recently from c2c68d2 to 7e47712 Compare August 10, 2021 08:02
…dability.

RELNOTES=n/a
PiperOrigin-RevId: 388747356
@copybara-service copybara-service Bot force-pushed the test_388747356 branch 2 times, most recently from 9f85b06 to 646727b Compare August 10, 2021 16:54
@copybara-service copybara-service Bot closed this Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants