mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix NPE
This commit is contained in:
@@ -457,7 +457,7 @@ public class ChangeListManagerImpl extends ChangeListManagerEx implements Projec
|
||||
|
||||
for (VcsDirtyScope scope : scopes) {
|
||||
AbstractVcs vcs = scope.getVcs();
|
||||
if (vcs.isTrackingUnchangedContent()) {
|
||||
if (vcs != null && vcs.isTrackingUnchangedContent()) {
|
||||
scope.iterateExistingInsideScope(new Processor<VirtualFile>() {
|
||||
@Override
|
||||
public boolean process(VirtualFile file) {
|
||||
|
||||
Reference in New Issue
Block a user