mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not create empty dependencies list for a CachedValue
This commit is contained in:
@@ -208,6 +208,9 @@ public class AntBuildModelImpl implements AntBuildModelBase {
|
||||
}
|
||||
}.fillTargets(list, model, project, sourceFile);
|
||||
}
|
||||
if (dependencies.isEmpty()) {
|
||||
dependencies.add(PsiModificationTracker.MODIFICATION_COUNT);
|
||||
}
|
||||
return new Pair<List<AntBuildTargetBase>, Collection<Object>>(list, dependencies);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user