mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[file-history] simplify
This commit is contained in:
+2
-3
@@ -114,9 +114,8 @@ public class FileHistorySessionPartner implements VcsHistorySessionConsumer {
|
||||
}
|
||||
|
||||
ApplicationManager.getApplication().invokeAndWait(() -> {
|
||||
VcsHistorySession copy = mySession.copyWithCachedRevision();
|
||||
if (session != null && !session.getRevisionList().isEmpty()) {
|
||||
myFileHistoryPanel.getHistoryPanelRefresh().consume(copy);
|
||||
if (mySession != null && !mySession.getRevisionList().isEmpty()) {
|
||||
myFileHistoryPanel.getHistoryPanelRefresh().consume(mySession.copyWithCachedRevision());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user