Bug 527657 - Mark IResourceChangeListener as functional interface
Change-Id: I20a0b4014955f04756150764beae787311974f58
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
diff --git a/bundles/org.eclipse.core.resources/src/org/eclipse/core/resources/IResourceChangeListener.java b/bundles/org.eclipse.core.resources/src/org/eclipse/core/resources/IResourceChangeListener.java
index f441aa5..bfdbbf5 100644
--- a/bundles/org.eclipse.core.resources/src/org/eclipse/core/resources/IResourceChangeListener.java
+++ b/bundles/org.eclipse.core.resources/src/org/eclipse/core/resources/IResourceChangeListener.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2009 IBM Corporation and others.
+ * Copyright (c) 2000, 2017 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
@@ -7,6 +7,7 @@
*
* Contributors:
* IBM Corporation - initial API and implementation
+ * Lars Vogel <Lars.Vogel@vogella.com> - Bug 527657
*******************************************************************************/
package org.eclipse.core.resources;
@@ -23,6 +24,8 @@
* @see IResourceDelta
* @see IWorkspace#addResourceChangeListener(IResourceChangeListener, int)
*/
+
+@FunctionalInterface
public interface IResourceChangeListener extends EventListener {
/**
* Notifies this listener that some resource changes