Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit aebbe86

Browse filesBrowse files
committed
Keeping findbugs happy
1 parent df9faf4 commit aebbe86
Copy full SHA for aebbe86

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎src/main/java/org/kohsuke/github/GHPullRequest.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHPullRequest.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,9 @@ public GHPullRequestReview createReview(String body, @CheckForNull GHPullRequest
297297
public GHPullRequestReview createReview(String body, @CheckForNull GHPullRequestReviewState event,
298298
List<GHPullRequestReviewComment> comments)
299299
throws IOException {
300-
if (event == null) {
301-
event = GHPullRequestReviewState.PENDING;
302-
}
300+
// if (event == null) {
301+
// event = GHPullRequestReviewState.PENDING;
302+
// }
303303
List<DraftReviewComment> draftComments = new ArrayList<DraftReviewComment>(comments.size());
304304
for (GHPullRequestReviewComment c : comments) {
305305
draftComments.add(new DraftReviewComment(c.getBody(), c.getPath(), c.getPosition()));

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.