Skip to content

Wrong documentation for CachePut #26186

@streambuf

Description

@streambuf

https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/cache/annotation/CachePut.html
unless
Unlike condition(), this expression is evaluated after the method has been called and can therefore refer to the result.

It is false. Condition is evaluated after the method has been called too and can refer to the result. I suppose it is the copy-paste from @Cacheable documentation.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchestype: documentationA documentation task

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions