We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9381471 commit 9345d3bCopy full SHA for 9345d3b
src/main/java/org/kohsuke/github/GHPullRequest.java
@@ -28,6 +28,7 @@
28
import java.net.URL;
29
import java.util.Arrays;
30
import java.util.Collection;
31
+import java.util.Collections;
32
import java.util.Date;
33
import java.util.List;
34
@@ -223,9 +224,9 @@ public String getMergeCommitSha() throws IOException {
223
224
return merge_commit_sha;
225
}
226
- public GHUser[] getRequestedReviewers() throws IOException {
227
+ public List<GHUser> getRequestedReviewers() throws IOException {
228
populate();
- return requested_reviewers;
229
+ return Collections.unmodifiableList(Arrays.asList(requested_reviewers));
230
231
232
/**
0 commit comments