Skip to content

Commit

Permalink
[JENKINS-57775][JENKINS-62780] Add CheckForNull for destination commit
Browse files Browse the repository at this point in the history
Co-authored-by: Liam Newman <[email protected]>
  • Loading branch information
Dohbedoh and bitwiseman authored Jun 29, 2020
1 parent c05439a commit 3c73dcd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class BitbucketPullRequestValueDestination implements BitbucketPullReques
@JsonCreator
public BitbucketPullRequestValueDestination(@NonNull @JsonProperty("repository") BitbucketCloudRepository repository,
@JsonProperty("branch") BitbucketCloudBranch branch,
@JsonProperty("commit") BitbucketCloudCommit commit) {
@CheckForNull @JsonProperty("commit") BitbucketCloudCommit commit) {
this.repository = repository;
this.branch = branch;
this.commit = commit;
Expand Down

0 comments on commit 3c73dcd

Please sign in to comment.