252253254255256257258259260
patchContent = sb.toString(); } private IProject getProject(final DiffEntry ent) { Side side = ent.getChangeType() == ChangeType.ADD ? Side.NEW : Side.OLD; String path = ent.getPath(side); return getProject(path); }