@Override public boolean match(BugInstance bugInstance) { boolean result1 = codes.match(bugInstance.getAbbrev()); boolean result2 = patterns.match(bugInstance.getType()); boolean result3 = categories.match(bugInstance.getBugPattern().getCategory()); if (DEBUG) { System.out.println("Matching " + bugInstance.getAbbrev() + "/" + bugInstance.getType() + "/" + bugInstance.getBugPattern().getCategory() + " with " + this + ", result = " + result1 + "/" + result2 + "/" + result3); } return result1 || result2 || result3; }
@Override public boolean match(BugInstance bugInstance) { return designations.match(bugInstance.getUserDesignationKey()); }
@Override public boolean match(BugInstance bugInstance) { boolean result1 = codes.match(bugInstance.getAbbrev()); boolean result2 = patterns.match(bugInstance.getType()); boolean result3 = categories.match(bugInstance.getBugPattern().getCategory()); if (DEBUG) { System.out.println("Matching " + bugInstance.getAbbrev() + "/" + bugInstance.getType() + "/" + bugInstance.getBugPattern().getCategory() + " with " + this + ", result = " + result1 + "/" + result2 + "/" + result3); } return result1 || result2 || result3; }