if (!changeHistoryFile.exists()) {
// Create it with the baseline?
persistBaseline();
}
long t0 = System.currentTimeMillis();
BinaryOWLOntologyChangeLog changeLog = new BinaryOWLOntologyChangeLog();
final BufferedInputStream inputStream = new BufferedInputStream(new FileInputStream(changeHistoryFile));
final Interner<OWLAxiom> axiomInterner = getAxiomInterner();
final Interner<String> metadataInterner = Interners.newStrongInterner();
final Interner<OWLOntologyID> ontologyIDInterner = Interners.newStrongInterner();
changeLog.readChanges(inputStream, project.getDataFactory(), new BinaryOWLChangeLogHandler() {
public void handleChangesRead(OntologyChangeRecordList list, SkipSetting skipSetting, long l) {
BinaryOWLMetadata metadata = list.getMetadata();
String userName = metadataInterner.intern(metadata.getStringAttribute(USERNAME_METADATA_ATTRIBUTE, ""));
Long revisionNumberValue = metadata.getLongAttribute(REVISION_META_DATA_ATTRIBUTE, 0l);