private boolean isEmptyRefs(@NotNull Collection<VcsRef> refs, int head) { if (refs.isEmpty()) { if (!myErrorWasReported.containsKey(head)) { myErrorWasReported.put(head, head); LOG.error( "No references found at head " + head + " which corresponds to hash " + myHashGetter.fun(head)); } return true; } return false; }