-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
an:enhancementAn improvement on existing features / rulesAn improvement on existing features / rules
Milestone
Description
Rule: CloseResource
Is your feature request related to a problem? Please describe.
When using Writer/Reader from HttpServletRequest/Response, the underlying object should be managed by the Servlet Server and so we should not explicitly close them.
Maybe it can be the case for other managed objects.
Describe the solution you'd like
Allow to setup an array of whitelisted method to create Resource, that will not need to check if it has been closed.
Describe alternatives you've considered
None
Additional context
None
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
an:enhancementAn improvement on existing features / rulesAn improvement on existing features / rules