private void applyChangedLines(@NotNull PatchHunk hunk) {
    for (PatchLine patchLine : hunk.getLines()) {
      if (patchLine.getType() != PatchLine.Type.REMOVE) {
        appendLine(patchLine.getText());
      }
    }
    baseLine = hunk.getEndLineBefore();
  }
private void applyChangedLines(@NotNull PatchHunk hunk)