This inspection reports any Lock resource which is not acquired in front of a try block and unlocked in the corresponding finally block. Such resources may be inadvertantly leaked if an exception is thrown before the resource is closed. |
Powered by InspectionGadgets |