boolean (@NotNull Change c) { if (c.getId() == myFromChangeId) { isReverting = true; } boolean shouldRevert = isReverting && !(c instanceof ContentChange); if (shouldRevert && LOG.isDebugEnabled()) { LOG.debug("Reverting " + c); } return shouldRevert; }