File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
src/main/java/com/spotify/github/v3 Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ public interface CheckRunResponse extends CheckRunBase {
80
80
81
81
/**
82
82
* Pull Requests where this check is applied.
83
- * @return the list of pull requests
83
+ * @return the optional of list of pull requests
84
84
*/
85
- List <PartialPullRequestItem > pullRequests ();
85
+ Optional < List <PartialPullRequestItem > > pullRequests ();
86
86
}
Original file line number Diff line number Diff line change 34
34
@ JsonDeserialize (as = ImmutablePartialPullRequestItem .class )
35
35
public interface PartialPullRequestItem extends CloseTracking {
36
36
/** ID. */
37
+ @ Nullable
37
38
Long id ();
38
39
39
40
/** URL. */
41
+ @ Nullable
40
42
URI url ();
41
43
42
44
/** Number. */
45
+ @ Nullable
43
46
Long number ();
44
47
45
48
/** Head reference. */
You can’t perform that action at this time.
0 commit comments