Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public interface CheckRunResponse extends CheckRunBase {

/**
* Pull Requests where this check is applied.
* @return the list of pull requests
* @return the optional of list of pull requests
*/
List<PartialPullRequestItem> pullRequests();
Optional<List<PartialPullRequestItem>> pullRequests();
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,15 @@
@JsonDeserialize(as = ImmutablePartialPullRequestItem.class)
public interface PartialPullRequestItem extends CloseTracking {
/** ID. */
@Nullable
Long id();

/** URL. */
@Nullable
URI url();

/** Number. */
@Nullable
Long number();

/** Head reference. */
Expand Down