private FileHistoryPanelImpl ensureHistoryPanelCreated() { if (myFileHistoryPanel == null) { myFileHistoryPanel = createFileHistoryPanel(mySession.copyWithCachedRevision()); } return myFileHistoryPanel; }