Skip to content

Conversation

@kolea2
Copy link
Contributor

@kolea2 kolea2 commented Jun 25, 2019

Currently, if both cause and cancellationCause are null, a NPE will be thrown after calling MoreObjects.firstNonNull. Instead, throw the proper exception rather than a NullPointerException.

@kolea2 kolea2 requested a review from a team as a code owner June 25, 2019 18:37
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 25, 2019
Copy link

@olavloite olavloite left a comment

Choose a reason for hiding this comment

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

LGTM

@kolea2 kolea2 merged commit c8408a0 into googleapis:master Jun 26, 2019
@kolea2 kolea2 deleted the spanner-cancel branch June 26, 2019 14:08
@JesseLovelace JesseLovelace mentioned this pull request Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants