mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix upsource CCE in PsiVFSListener
This commit is contained in:
@@ -78,7 +78,10 @@ public class PsiVFSListener extends VirtualFileAdapter {
|
||||
|
||||
// let PushedFilePropertiesUpdater process all pending vfs events and update file properties before we issue PSI events
|
||||
for (Project project : projects) {
|
||||
((PushedFilePropertiesUpdaterImpl)PushedFilePropertiesUpdater.getInstance(project)).processAfterVfsChanges(events);
|
||||
PushedFilePropertiesUpdater updater = PushedFilePropertiesUpdater.getInstance(project);
|
||||
if (updater instanceof PushedFilePropertiesUpdaterImpl) { // false in upsource
|
||||
((PushedFilePropertiesUpdaterImpl)updater).processAfterVfsChanges(events);
|
||||
}
|
||||
}
|
||||
for (Project project : projects) {
|
||||
PsiVFSListener listener = project.getComponent(PsiVFSListener.class);
|
||||
|
||||
Reference in New Issue
Block a user