diff --git a/java-diff-utils/src/main/java/com/github/difflib/patch/DeltaType.java b/java-diff-utils/src/main/java/com/github/difflib/patch/DeltaType.java index 3c12196..666e803 100644 --- a/java-diff-utils/src/main/java/com/github/difflib/patch/DeltaType.java +++ b/java-diff-utils/src/main/java/com/github/difflib/patch/DeltaType.java @@ -16,7 +16,18 @@ package com.github.difflib.patch; /** - * Specifies the type of the delta. + * Specifies the type of the delta. There are three types of modifications from + * the original to get the revised text. + * + * CHANGE: a block of data of the original is replaced by another block of data. + * DELETE: a block of data of the original is removed + * INSERT: at a position of the original a block of data is inserted + * + * to be complete there is also + * + * EQUAL: a block of data of original and the revised text is equal + * + * which is no change at all. * */ public enum DeltaType {