mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-66225 diff: fix NPE
This commit is contained in:
+1
-2
@@ -57,8 +57,7 @@ public class ChangeForDiffConvertor implements Convertor<Change, DiffRequestPres
|
||||
}
|
||||
if (ChangesUtil.isTextConflictingChange(ch)) {
|
||||
final AbstractVcs vcs = ChangesUtil.getVcsForChange(ch, myProject);
|
||||
final MergeProvider mergeProvider = vcs.getMergeProvider();
|
||||
if (mergeProvider == null) return null;
|
||||
if (vcs == null || vcs.getMergeProvider() == null) return null;
|
||||
final FilePath path = ChangesUtil.getFilePath(ch);
|
||||
VirtualFile vf = path.getVirtualFile();
|
||||
if (vf == null) {
|
||||
|
||||
Reference in New Issue
Block a user