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