Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2020-01-27 08:44:43 +0000
committerLars Vogel2020-02-04 09:27:09 +0000
commit439ed53aab73abadad2279f7e2cab56d9c76594f (patch)
tree2497f69e37b1231ccbdc040c9d604d71b653643e /org.eclipse.debug.ui/ui/org/eclipse/debug/ui
parent034cac2c534b426f1018932b824bbe818b878797 (diff)
downloadeclipse.platform.debug-439ed53aab73abadad2279f7e2cab56d9c76594f.tar.gz
eclipse.platform.debug-439ed53aab73abadad2279f7e2cab56d9c76594f.tar.xz
eclipse.platform.debug-439ed53aab73abadad2279f7e2cab56d9c76594f.zip
Use method reference instead of lambdasI20200205-0030I20200204-1800
Method references are slightly faster than lambdas and better readable. Change-Id: I1eb012c76a425358503f171d291d6abe9a45d219 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/EnvironmentTab.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/EnvironmentTab.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/EnvironmentTab.java
index ae81f0b27..0ce851a65 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/EnvironmentTab.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/EnvironmentTab.java
@@ -311,7 +311,7 @@ public class EnvironmentTab extends AbstractLaunchConfigurationTab {
environmentTable.setContentProvider(new EnvironmentVariableContentProvider());
environmentTable.setLabelProvider(new EnvironmentVariableLabelProvider());
environmentTable.setColumnProperties(new String[] { P_VARIABLE, P_VALUE });
- environmentTable.addSelectionChangedListener(event -> handleTableSelectionChanged(event));
+ environmentTable.addSelectionChangedListener(this::handleTableSelectionChanged);
// Setup right-click context menu
Menu menuTable = new Menu(table);

Back to the top