diff --git a/src/main/java/org/springframework/retry/annotation/Retryable.java b/src/main/java/org/springframework/retry/annotation/Retryable.java index 101c589..d148f7c 100644 --- a/src/main/java/org/springframework/retry/annotation/Retryable.java +++ b/src/main/java/org/springframework/retry/annotation/Retryable.java @@ -54,8 +54,8 @@ public @interface Retryable { String interceptor() default ""; /** - * Exception types that are retryable. Defaults to empty (and if excludes is also - * empty all exceptions are retried). + * Exception types that are retryable. Defaults to empty (and if exclude is also empty + * all exceptions are retried). * @return exception types to retry * @deprecated in favor of {@link #retryFor()} */ @@ -83,8 +83,8 @@ public @interface Retryable { /** * Exception types that are not retryable. Defaults to empty (and if include is also - * empty all exceptions are retried). If includes is empty but excludes is not, all - * not excluded exceptions are retried + * empty all exceptions are retried). If includes is empty but exclude is not, all not + * excluded exceptions are retried * @return exception types not to retry * @deprecated in favor of {@link #noRetryFor()}. */ @@ -94,7 +94,7 @@ public @interface Retryable { /** * Exception types that are not retryable. Defaults to empty (and, if retryFor is also - * empty, all exceptions are retried). If retryFor is empty but excludes is not, all + * empty, all exceptions are retried). If retryFor is empty but noRetryFor is not, all * other exceptions are retried * @return exception types not to retry * @since 2.0