void (Pair<LogEntry, Integer> svnLogEntryIntegerPair) { final LogEntry logEntry = svnLogEntryIntegerPair.getFirst(); final Integer mergeLevel = svnLogEntryIntegerPair.getSecond(); if (mergeLevel < 0) { if (myCurrentHierarchy != null) { myConsumer.consume(myCurrentHierarchy); } if (logEntry.hasChildren()) { myCurrentHierarchy = new LogHierarchyNode(logEntry); } else { // just pass myCurrentHierarchy = null; myConsumer.consume(new LogHierarchyNode(logEntry)); } } else { addToLevel(myCurrentHierarchy, logEntry, mergeLevel); } }