Fixed bug 441116: [api] Create functional interface to use Lambda
expressions for selection events based on SelectionListener - fixed jdt
ui code

Change-Id: I640f3d98b27b99310d4afdd209ca456c691baf6b
diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/AbstractConfigurationBlock.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/AbstractConfigurationBlock.java
index 32ce9cf..5f42457 100644
--- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/AbstractConfigurationBlock.java
+++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/AbstractConfigurationBlock.java
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2000, 2013 IBM Corporation and others.
+ * Copyright (c) 2000, 2016 IBM Corporation and others.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
@@ -405,7 +405,7 @@
         Iterator<SelectionListener> iter3= fMasterSlaveListeners.iterator();
         while (iter3.hasNext()) {
             SelectionListener listener= iter3.next();
-            listener.widgetSelected(null);
+			listener.widgetSelected((SelectionEvent) null);
         }
 
         updateStatus(new StatusInfo());
diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/MarkOccurrencesConfigurationBlock.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/MarkOccurrencesConfigurationBlock.java
index c13597a..1eaf76a 100644
--- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/MarkOccurrencesConfigurationBlock.java
+++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/MarkOccurrencesConfigurationBlock.java
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2000, 2011 IBM Corporation and others.
+ * Copyright (c) 2000, 2016 IBM Corporation and others.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
@@ -254,7 +254,7 @@
         Iterator<SelectionListener> iter2= fMasterSlaveListeners.iterator();
         while (iter2.hasNext()) {
             SelectionListener listener= iter2.next();
-            listener.widgetSelected(null);
+			listener.widgetSelected((SelectionEvent) null);
         }
 
 	}