Document original = new Document(new ByteArrayInputStream(originalBytes));
Document revised = new Document(new ByteArrayInputStream(revisedBytes));
…
// compare() records the differences as Tracked revisions on the or…...as differences despite no changes, while all other content is...records the differences as tracked revisions on the original document...