Skip to content

Commit

Permalink
SONARJAVA-5285 Modify rule S7180: update wrong rule description (#4643)
Browse files Browse the repository at this point in the history
  • Loading branch information
erwan-serandour authored Jan 31, 2025
1 parent 1e63f6a commit 8c0356d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rules/S7180/java/rule.adoc
Original file line number Diff line number Diff line change
@@ -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?

Expand Down

0 comments on commit 8c0356d

Please sign in to comment.