Fixes gh-12: correct Javadocs

The method signature for RetryCallback was changed in 1.1 but the
Javadocs in RetryTemplate still reflected the old behaviour.
This commit is contained in:
Dave Syer
2014-08-22 16:16:10 +01:00
parent 20d703410a
commit bdc4025250

View File

@@ -516,7 +516,7 @@ public class RetryTemplate implements RetryOperations {
}
/**
* Re-throws the original throwable if it is unchecked, wraps checked exceptions into
* Re-throws the original throwable if it is an Exception, and wraps non-exceptions into
* {@link RetryException}.
*/
private static <E extends Throwable> E wrapIfNecessary(Throwable throwable) throws RetryException {