Runnable (@NotNull final ComparisonData comparisonData) { return () -> { clearDiffPresentation(); myComparisonData = comparisonData; if (myComparisonData.notification.get() != null) { myPanel.addNotification(DiffNotifications.createNotification(myComparisonData.notification.get())); } myStatusPanel.update(); }; }