boolean (Item element, int priority, ProgressIndicator wrapperIndicator) { try { if (element == null) { LOG.debug("Skip null element"); return true; } reportElementOnce(); boolean added = myAccumulator.addElement(element, myContributor, priority, wrapperIndicator); if (!added) { myAccumulator.setContributorHasMore(myContributor, true); } return added; } catch (InterruptedException e) { LOG.warn("Search task was interrupted"); return false; } }