edu.umd.cs.findbugs
Class UnionResults

java.lang.Object
  extended by edu.umd.cs.findbugs.UnionResults

public class UnionResults
extends java.lang.Object

Compute the union of two sets of bug results, preserving annotations.


Field Summary
private  SortedBugCollection newCollection
           
private  SortedBugCollection origCollection
           
private  Project project
           
 
Constructor Summary
UnionResults(SortedBugCollection origCollection, SortedBugCollection newCollection, Project project)
           
UnionResults(java.lang.String origFilename, java.lang.String newFilename)
           
 
Method Summary
private static java.util.SortedSet<BugInstance> createSet(SortedBugCollection bugCollection)
           
 SortedBugCollection execute()
           
 Project getProject()
           
static void main(java.lang.String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

origCollection

private SortedBugCollection origCollection

newCollection

private SortedBugCollection newCollection

project

private Project project
Constructor Detail

UnionResults

public UnionResults(java.lang.String origFilename,
                    java.lang.String newFilename)
             throws java.io.IOException,
                    org.dom4j.DocumentException
Throws:
java.io.IOException
org.dom4j.DocumentException

UnionResults

public UnionResults(SortedBugCollection origCollection,
                    SortedBugCollection newCollection,
                    Project project)
Method Detail

getProject

public Project getProject()

execute

public SortedBugCollection execute()

main

public static void main(java.lang.String[] argv)
                 throws java.lang.Exception
Throws:
java.lang.Exception

createSet

private static java.util.SortedSet<BugInstance> createSet(SortedBugCollection bugCollection)