edu.umd.cs.findbugs

Class ResourceTrackingDetector<Resource,ResourceTrackerType extends ResourceTracker<Resource>>

  • java.lang.Object
    • edu.umd.cs.findbugs.ResourceTrackingDetector<Resource,ResourceTrackerType>
  • All Implemented Interfaces:
    Detector, Priorities
    Direct Known Subclasses:
    FindOpenStream, FindUnreleasedLock


    public abstract class ResourceTrackingDetector<Resource,ResourceTrackerType extends ResourceTracker<Resource>>
    extends Object
    implements Detector
    Abstract implementation of a Detector to find methods where a particular kind of created resource is not cleaned up or closed properly. Subclasses should override the abstract methods to determine what kinds of resources are tracked by the detector.
    Author:
    David Hovemeyer

Copyright © 2003–2015. All rights reserved.