From bdc40252508a0b53bc1f37921ce21d34129b00b5 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Fri, 22 Aug 2014 16:16:10 +0100 Subject: [PATCH] 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. --- .../java/org/springframework/retry/support/RetryTemplate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/springframework/retry/support/RetryTemplate.java b/src/main/java/org/springframework/retry/support/RetryTemplate.java index ed48a98..af66f0c 100644 --- a/src/main/java/org/springframework/retry/support/RetryTemplate.java +++ b/src/main/java/org/springframework/retry/support/RetryTemplate.java @@ -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 wrapIfNecessary(Throwable throwable) throws RetryException {