Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2020-07-24 07:57:53 +0000
committerLars Vogel2020-07-24 07:57:53 +0000
commit2ba0968271a339443a64605774f476a816fd07f3 (patch)
tree0b15fe6eefcd88d2ab49600f2e86903b7ba74c7a
parent7f7dbae6777773c1b54c3c9864728b4215e19219 (diff)
downloadeclipse.platform.team-2ba0968271a339443a64605774f476a816fd07f3.tar.gz
eclipse.platform.team-2ba0968271a339443a64605774f476a816fd07f3.tar.xz
eclipse.platform.team-2ba0968271a339443a64605774f476a816fd07f3.zip
Method reference in LocalHistoryPage instead of lambda
Change-Id: I1626458f8046fcf42b56db63fe00596f3b470b40 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/history/LocalHistoryPage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/history/LocalHistoryPage.java b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/history/LocalHistoryPage.java
index a70657a5a..619e6730d 100644
--- a/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/history/LocalHistoryPage.java
+++ b/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/history/LocalHistoryPage.java
@@ -496,7 +496,7 @@ public class LocalHistoryPage extends HistoryPage implements IHistoryCompareAdap
//Contribute actions to popup menu
MenuManager menuMgr = new MenuManager();
Menu menu = menuMgr.createContextMenu(treeViewer.getTree());
- menuMgr.addMenuListener(menuMgr1 -> fillTableMenu(menuMgr1));
+ menuMgr.addMenuListener(this::fillTableMenu);
menuMgr.setRemoveAllWhenShown(true);
treeViewer.getTree().setMenu(menu);

Back to the top