Skip to content

Commit

Permalink
SKARA-2290
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaosongzs committed Jun 7, 2024
1 parent 3f7de91 commit 40499c7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void addReview(Review.Verdict verdict, String body) {
}

@Override
public void updateReview(int id, String body) {
public void updateReview(String id, String body) {
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public interface PullRequest extends Issue {
/**
* Updates the comment body of a review.
*/
void updateReview(int id, String body);
void updateReview(String id, String body);

/**
* Add a file specific comment.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public void addReview(Review.Verdict verdict, String body) {
}

@Override
public void updateReview(int id, String body) {
public void updateReview(String id, String body) {
request.put("pulls/" + json.get("number").toString() + "/reviews/" + id)
.body("body", body)
.execute();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public void addReview(Review.Verdict verdict, String body) {
}

@Override
public void updateReview(int id, String body) {
public void updateReview(String id, String body) {
throw new RuntimeException("not implemented yet");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public void addReview(Review.Verdict verdict, String body) {
}

@Override
public void updateReview(int id, String body) {
public void updateReview(String id, String body) {
throw new RuntimeException("not implemented yet");
}

Expand Down

0 comments on commit 40499c7

Please sign in to comment.