# Show Revisions This article explains how to customize the display of revisions in the output document in GroupDocs.Comparison for Java. --- [GroupDocs.Comparison](https://products.groupdocs.com/comparison/java) allows you to compare and customize the display of revisions in the output document. Revision is a collection of changes received when comparing documents using built-in Word tools. By default, the display of revisions is enabled. To turn off the display of revisions, follow these steps: 1. Instantiate the [Comparer](https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison/comparer/) object. Specify the source file path or stream. 2. Call the [add()](https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison/comparer/#add-java.lang.String-) method. Specify the target file path or stream. 3. Instantiate the [CompareOptions](https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options/compareoptions/) object. Set the [ShowRevisions](https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options/compareoptions/#setShowRevisions-boolean-) property to `false`. 4. Call the [compare()](https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison/comparer/#compare-java.lang.String-) method. Specify the [CompareOptions](https://reference.groupdocs.com/comparison/java/com.groupdocs.comparison.options/compareoptions/) object from the previous step. The following code snippet shows how disable the display of revisions: {{< tabs "example1">}} {{< tab "Java" >}} ```java import com.groupdocs.comparison.Comparer; import com.groupdocs.comparison.options.CompareOptions; import java.nio.file.Path; // ... try (Comparer comparer = new Comparer("source.docx")) { comparer.add("target.docx"); CompareOptions options = new CompareOptions(); options.setShowRevisions(false); final Path resultPath = comparer.compare("result.docx", options); } ``` {{< /tab >}} {{< /tabs >}} The result is as follows: | Closed state | Open state | | :-----------------------------------------------------------------: | :----------------------------------------------------------------: | | ![](https://docs.groupdocs.com/comparison/java/images/show-revisions-true-close-revisions.png) | ![](https://docs.groupdocs.com/comparison/java/images/show-revisions-true-open-revisions.png) | | Disable display Revisions | | :--------------------------------------------------: | | ![](https://docs.groupdocs.com/comparison/java/images/show-revisions-false.png) |