Пример #1
0
  /**
   * 새로운 코드 요청으로 기존 코드 요청을 수정한다.
   *
   * @param newPullRequest
   */
  public void updateWith(PullRequest newPullRequest) {
    deleteIssueEvents();

    this.toBranch = newPullRequest.toBranch;
    this.fromBranch = newPullRequest.fromBranch;
    this.title = newPullRequest.title;
    this.body = newPullRequest.body;
    update();

    addNewIssueEvents();
  }
Пример #2
0
 @Override
 public void delete() {
   deleteIssueEvents();
   super.delete();
 }