Skip to content
Advertisement

Tag: unused-functions

Intellij – Spring Retry @Recover method marked as unused

When using Spring Retry @Recover method (which works ok) IntelliJ always marking method as unused and suggest to safe delete Method ‘recover(com.gth.common.exceptions.RetryableException, java.lang.String)’ is never used How can it be avoided? how can IntelliJ be aware of the recover method usage? I don’t want IntelliJ to stop warn about Unused declaration, only the false positive warnings Answer Method declarations looks

Advertisement