@Override public final void reportBug(@Nonnull BugInstance bugInstance) { if (isRelaxed()) { doReportBug(bugInstance); return; int bugRank = bugInstance.getBugRank(); if (priority <= priorityThreshold && bugRank <= rankThreshold) { doReportBug(bugInstance); } else { if (DEBUG) {
public final void reportBugsFromXml(@WillClose InputStream in, Project theProject) throws IOException, DocumentException { SortedBugCollection theCollection = new SortedBugCollection(theProject); theCollection.readXML(in); for (BugInstance bug : theCollection.getCollection()) { doReportBug(bug); } }
@Override public final void reportBug(@Nonnull BugInstance bugInstance) { if (isRelaxed()) { doReportBug(bugInstance); return; int bugRank = bugInstance.getBugRank(); if (priority <= priorityThreshold && bugRank <= rankThreshold) { doReportBug(bugInstance); } else { if (DEBUG) {
public final void reportBugsFromXml(@WillClose InputStream in, Project theProject) throws IOException, DocumentException { SortedBugCollection theCollection = new SortedBugCollection(theProject); theCollection.readXML(in); for (BugInstance bug : theCollection.getCollection()) { doReportBug(bug); } }