Package edu.umd.cs.findbugs.workflow
Class UnionResults
java.lang.Object
edu.umd.cs.findbugs.workflow.UnionResults
Compute the union of two sets of bug results, preserving annotations.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static SortedBugCollection
iterateArguments
(List<String> arguments, int argCount, SortedBugCollection results, HashSet<String> hashes) static void
static void
merge
(HashSet<String> hashes, SortedBugCollection into, SortedBugCollection from) readWrappedArguments
(String fileName) static SortedBugCollection
union
(SortedBugCollection origCollection, SortedBugCollection newCollection)
-
Constructor Details
-
UnionResults
public UnionResults()
-
-
Method Details
-
union
public static SortedBugCollection union(SortedBugCollection origCollection, SortedBugCollection newCollection) -
merge
public static void merge(HashSet<String> hashes, SortedBugCollection into, SortedBugCollection from) -
main
- Throws:
IOException
-
iterateArguments
private static SortedBugCollection iterateArguments(List<String> arguments, int argCount, SortedBugCollection results, HashSet<String> hashes) -
readWrappedArguments
- Throws:
IOException
-