"I/O resource opened by not safely closed" shouldn't report in-memory streams

I/O streams and writers that deals with in-memory data (ByteArrayOutputStream, CharArrayWriter, StringWriter, maybe there are more) don't need any resource management logic, and their close() method is just a no-op.

It would be nice if these classes could be added as an exception, and not reported by the above mentioned inspection.

Please sign in to leave a comment.