int argCount = commandLine.parse(args, 0, 2, "Usage: " + Filter.class.getName()
+ " [options] [<orig results> [<new results]] ");
SortedBugCollection origCollection = new SortedBugCollection();
if (argCount == args.length) {
origCollection.readXML(System.in);
} else {
origCollection.readXML(args[argCount++]);
}
boolean verbose = argCount < args.length;
SortedBugCollection resultCollection = origCollection.createEmptyCollectionWithMetadata();