From 8fd79d388d812f3774b7f4f2273ad8cc6985b8fc Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Fri, 28 Aug 2020 10:01:20 -0400 Subject: [PATCH] Fix javadoc typo --- .../org/springframework/retry/policy/SimpleRetryPolicy.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/springframework/retry/policy/SimpleRetryPolicy.java b/src/main/java/org/springframework/retry/policy/SimpleRetryPolicy.java index e8fd3c7..41e189d 100644 --- a/src/main/java/org/springframework/retry/policy/SimpleRetryPolicy.java +++ b/src/main/java/org/springframework/retry/policy/SimpleRetryPolicy.java @@ -92,7 +92,8 @@ public class SimpleRetryPolicy implements RetryPolicy { * @param maxAttempts the maximum number of attempts * @param retryableExceptions the map of exceptions that are retryable based on the * map value (true/false). - * @param traverseCauses is this clause traversable + * @param traverseCauses true to traverse the exception cause chain until a classified + * exception is found or the root cause is reached. */ public SimpleRetryPolicy(int maxAttempts, Map, Boolean> retryableExceptions, boolean traverseCauses) { @@ -108,7 +109,8 @@ public class SimpleRetryPolicy implements RetryPolicy { * @param maxAttempts the maximum number of attempts * @param retryableExceptions the map of exceptions that are retryable based on the * map value (true/false). - * @param traverseCauses is this clause traversable + * @param traverseCauses true to traverse the exception cause chain until a classified + * exception is found or the root cause is reached. * @param defaultValue the default action. */ public SimpleRetryPolicy(int maxAttempts, Map, Boolean> retryableExceptions,