diff --git a/src/main/java/org/springframework/retry/policy/RetryContextCache.java b/src/main/java/org/springframework/retry/policy/RetryContextCache.java index 9689488..14b7f9e 100644 --- a/src/main/java/org/springframework/retry/policy/RetryContextCache.java +++ b/src/main/java/org/springframework/retry/policy/RetryContextCache.java @@ -19,8 +19,10 @@ package org.springframework.retry.policy; import org.springframework.retry.RetryContext; /** - * Simple map-like abstraction for stateful retry policies to use when storing - * and retrieving {@link RetryContext} instances. + * Simple map-like abstraction for stateful retry policies to use when storing and + * retrieving {@link RetryContext} instances. A null key should never be passed in by the + * caller, but if it is then implementations are free to discard the context instead of + * saving it (null key means "no information"). * * @author Dave Syer *