blob: 609a633ce0c411d88c24ca7ec6a1a523e27cf17d [file] [log] [blame]
<html>
<body>
Reports any Socket resource which is not safely closed in a <b>finally</b> block. Such resources may
be inadvertently leaked if an exception is thrown before the resource is closed. Socket resources reported
by this inspection include <b>java.net.Socket</b>,
<b>java.net.DatagramSocket</b>,
and <b>java.net.ServerSocket</b>.
<!-- tooltip end -->
<p>
Use the checkbox below to specify if a Socket is allowed to be opened inside a try
block. This style is less desirable because it is more verbose than opening a Socket
in front of a try block.
<p>
</body>
</html>