}
return file;
}
@Nullable
<BUG>private VirtualFile findFileToPatchByName(@NotNull final VirtualFile patchedDir, final int skipTopDirs, final String fileName) {

String[] pathNameComponents = fileName.split("/");</BUG>
VirtualFile fileToPatch = patchedDir;
int lastComponentToFind = isNewFile() ? pathNameComponents.length-1 : pathNameComponents.length;
for(int i=skipTopDirs; i<lastComponentToFind; i++) {

}
public void addHunk(final PatchHunk hunk) {
myHunks.add(hunk);
}
