IG: I/O resource opened but...

Dave,
Have you considered refining this new inspection so that it doesn't report on classes like ByteArrayOutputStream for which the close() has no effect?
Thanks,
Jon
P.S. Don't forget lunch! :)

1 comment
Comment actions Permalink


I actually had considered ByteArray[Input/Output]Stream, but chose to not create special cases for those yet. Mostly that's because these inspections are already extremely complicated, and I didn't want to further refine them before I get beta-tester feedback. If I don't hear a bezillion error reports on these cases, I'll probably bite the bullet and add the complexity for those cases (and a couple of others similiarly deferred.)

Firming up my schedule for next week. Will contact you re lunch tomorrow.

--Dave Griffith

0

Please sign in to leave a comment.