-
Notifications
You must be signed in to change notification settings - Fork 694
S1186: Ignore empty methods with @CacheEvict annotation #5144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
S1186: Ignore empty methods with @CacheEvict annotation #5144
Conversation
Methods with the `@org.springframework.cache.annotation.CacheEvict` annotation usually are empty. Examples: * https://www.baeldung.com/spring-boot-evict-cache#1-using-cacheevict * https://java2practice.com/2013/03/23/spring-cacheable-and-cacheevict-explained-in-simple-terms/ Therefore S1186 should not complain about those empty methods and should ignore them.
This PR is stale because it has been open 7 days with no activity. If there is no activity in the next 7 days it will be closed automatically |
remove stale |
This PR is stale because it has been open 7 days with no activity. If there is no activity in the next 7 days it will be closed automatically |
remove stale |
This PR is stale because it has been open 7 days with no activity. If there is no activity in the next 7 days it will be closed automatically |
IndexedDB |
This PR is stale because it has been open 7 days with no activity. If there is no activity in the next 7 days it will be closed automatically |
remove stale |
This PR is stale because it has been open 7 days with no activity. If there is no activity in the next 7 days it will be closed automatically |
remove stale |
Methods with the
@org.springframework.cache.annotation.CacheEvict
annotation usually are empty. Examples:Therefore S1186 should not complain about those empty methods and should ignore them.