Opening a large number of FileInputStreams (for example) without explicitly
closing them can cause problems. Of course they get closed when the object
is finalized, but who knows when that will be. Would it be possible for the
Code Inspection to report on streams that are created but never closed? It's
kind of funky that this would require some specific knowledge about the
class libraries, as opposed to just the language definition, but I think it
would be a useful feature that could help developers locate obscure bugs.

Thanks!



_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features

Reply via email to