pairId = IdGenerator.generate();
}
if (vstates.size() > 0)
{
versionLog.addLog((pairId != null) ? new PairChangesLog(vstates, changes.getSessionId(), changes
.getEventType(), pairId) : new PlainChangesLogImpl(vstates, changes.getSessionId(), changes
.getEventType()));
saveVersions = true;
}
if (nvstates.size() > 0)
{
nonVersionLog.addLog((pairId != null) ? new PairChangesLog(nvstates, changes.getSessionId(), changes
.getEventType(), pairId) : new PlainChangesLogImpl(nvstates, changes.getSessionId(), changes
.getEventType()));
saveNonVersions = true;
}