Revision is gone

Hi,
I’m having a problem with following, in this document we have word ‘bold’ that has two revisions FORMAT_CHANGE and DELETION. I just want to accept FORMAT_CHANGE but when i do that text is gone in saved file.

code:

Document doc = new Document("double revision.docx");
Revision revision = doc.getRevisions().get(1);
assertTrue(revision.getRevisionType()==RevisionType.FORMAT_CHANGE);
revision.accept();
doc.save("double revisionASPOSE.docx");

file: double revision.zip (9.9 KB)

@Saric I cannot reproduce the problem using the latest 22.2 version of Aspose.Words for Java. Please find the attached output document generated on my side: out.docx (9.9 KB)