Polishing

This commit is contained in:
Juergen Hoeller
2014-09-04 02:00:28 +02:00
parent 20c2ba35dc
commit 86b7118da8
18 changed files with 120 additions and 119 deletions

View File

@@ -44,7 +44,7 @@ public class ListenableFutureCallbackRegistry<T> {
/**
* Adds the given callback to this registry.
* Add the given callback to this registry.
* @param callback the callback to add
*/
@SuppressWarnings("unchecked")
@@ -67,7 +67,7 @@ public class ListenableFutureCallbackRegistry<T> {
}
/**
* Adds the given success callback to this registry.
* Add the given success callback to this registry.
* @param callback the success callback to add
* @since 4.1
*/
@@ -87,7 +87,7 @@ public class ListenableFutureCallbackRegistry<T> {
}
/**
* Adds the given failure callback to this registry.
* Add the given failure callback to this registry.
* @param callback the failure callback to add
* @since 4.1
*/
@@ -107,8 +107,8 @@ public class ListenableFutureCallbackRegistry<T> {
}
/**
* Triggers a {@link ListenableFutureCallback#onSuccess(Object)} call on all
* added callbacks with the given result
* Trigger a {@link ListenableFutureCallback#onSuccess(Object)} call on all
* added callbacks with the given result.
* @param result the result to trigger the callbacks with
*/
public void success(T result) {
@@ -122,7 +122,7 @@ public class ListenableFutureCallbackRegistry<T> {
}
/**
* Triggers a {@link ListenableFutureCallback#onFailure(Throwable)} call on all
* Trigger a {@link ListenableFutureCallback#onFailure(Throwable)} call on all
* added callbacks with the given {@code Throwable}.
* @param ex the exception to trigger the callbacks with
*/