void (@NotNull VcsHistorySession session) { if (myFileHistoryPanel == null) { myFileHistoryPanel = new FileHistoryPanelImpl(myVcs, myPath, myStartingRevisionNumber, session, myVcsHistoryProvider, myRefresher, false); add(myFileHistoryPanel, BorderLayout.CENTER); DataManager.registerDataProvider(this, myFileHistoryPanel); Disposer.register(FileHistorySessionPartner.this, myFileHistoryPanel); } else if (!session.getRevisionList().isEmpty()) { myFileHistoryPanel.setHistorySession(session); } }