Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/RefSpecPage.java')
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/RefSpecPage.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/RefSpecPage.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/RefSpecPage.java
index 64b93b0358..d353d4e944 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/RefSpecPage.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/components/RefSpecPage.java
@@ -126,12 +126,7 @@ public class RefSpecPage extends WizardPage {
specsPanel = new RefSpecPanel(panel, pushPage);
specsPanel.getControl().setLayoutData(
new GridData(SWT.FILL, SWT.FILL, true, true));
- specsPanel.addRefSpecTableListener(new SelectionChangeListener() {
- @Override
- public void selectionChanged() {
- checkPage();
- }
- });
+ specsPanel.addRefSpecTableListener(this::checkPage);
if (!pushPage) {
final Group tagsGroup = new Group(panel, SWT.NULL);

Back to the top