Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2016-09-29 23:34:14 -0400
committerSergey Prigogin2016-09-30 00:27:21 -0400
commit4a8d43b232341d455535b52c87e773ecb662f346 (patch)
tree16d61fad1b8b8b5e14210527f8d080d84750b863
parentbc2a4892117eed39021c94fdc76c81846f2104be (diff)
downloadrt.equinox.bundles-4a8d43b232341d455535b52c87e773ecb662f346.tar.gz
rt.equinox.bundles-4a8d43b232341d455535b52c87e773ecb662f346.tar.xz
rt.equinox.bundles-4a8d43b232341d455535b52c87e773ecb662f346.zip
Bug 501778 - Provide default implementation for
ISafeRunnable.handleException(Throwable) Added @FunctionalInterface annotation. Change-Id: I75aa436fc1bc765d835270503523b7b46b5788c8 Signed-off-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
-rw-r--r--bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/ISafeRunnable.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/ISafeRunnable.java b/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/ISafeRunnable.java
index be8b3c00..6efbe84d 100644
--- a/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/ISafeRunnable.java
+++ b/bundles/org.eclipse.equinox.common/src/org/eclipse/core/runtime/ISafeRunnable.java
@@ -22,6 +22,7 @@ package org.eclipse.core.runtime;
* </p>
* @see SafeRunner#run(ISafeRunnable)
*/
+@FunctionalInterface
public interface ISafeRunnable {
/**
* Runs this runnable. Any exceptions thrown from this method will

Back to the top