summaryrefslogtreecommitdiff
path: root/platform/core-api/src/com/intellij/concurrency/ResultConsumer.java
diff options
context:
space:
mode:
Diffstat (limited to 'platform/core-api/src/com/intellij/concurrency/ResultConsumer.java')
-rw-r--r--platform/core-api/src/com/intellij/concurrency/ResultConsumer.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/platform/core-api/src/com/intellij/concurrency/ResultConsumer.java b/platform/core-api/src/com/intellij/concurrency/ResultConsumer.java
index 80618f0b9c79..409d5a9439a4 100644
--- a/platform/core-api/src/com/intellij/concurrency/ResultConsumer.java
+++ b/platform/core-api/src/com/intellij/concurrency/ResultConsumer.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2000-2012 JetBrains s.r.o.
+ * Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,10 +15,12 @@
*/
package com.intellij.concurrency;
+import org.jetbrains.annotations.NotNull;
+
/**
* Author: dmitrylomov
*/
public interface ResultConsumer<V> {
void onSuccess(V value);
- void onFailure(Throwable t);
+ void onFailure(@NotNull Throwable t);
}