edu.umd.cs.findbugs.detect
Class FindOpenStream
public final
class
FindOpenStream
extends ResourceTrackingDetector<Stream,StreamResourceTracker>
implements StatelessDetector
A Detector to look for streams that are opened in a method,
do not escape the method, and are not closed on all paths
out of the method. Note that "stream" is a bit misleading,
since we also use the detector to look for database resources
that aren't closed.
Author: David Hovemeyer
public static boolean isMainMethod(Method method)
public static void main(String[] argv)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.