SONARJAVA-5285 Modify rule S7180: update wrong rule description (#4643)

This commit is contained in:
erwan-serandour 2025-01-31 16:58:21 +01:00 committed by GitHub
parent 1e63f6a274
commit 8c0356d55e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,7 @@
== Why is this an issue?
Annotating interfaces or interface methods with ``++@Cache*++`` annotations is not recommended. When using CGLIB-based proxies, these annotations will be ignored, and no caching proxy will be created.
Annotating interfaces or interface methods with ``++@Cache*++`` annotations is not recommended by the official Spring documentation.
If you use the weaving-based aspect (mode="aspectj"), the ``++@Cache*++`` annotations will be ignored, and no caching proxy will be created.
=== What is the potential impact?