Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f76abb5

Browse files
committed
improved the documentation of DeltyType a bit
fixed #99
1 parent de04bd6 commit f76abb5

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

java-diff-utils/src/main/java/com/github/difflib/patch/DeltaType.java

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,18 @@
1616
package com.github.difflib.patch;
1717

1818
/**
19-
* Specifies the type of the delta.
19+
* Specifies the type of the delta. There are three types of modifications from
20+
* the original to get the revised text.
21+
*
22+
* CHANGE: a block of data of the original is replaced by another block of data.
23+
* DELETE: a block of data of the original is removed
24+
* INSERT: at a position of the original a block of data is inserted
25+
*
26+
* to be complete there is also
27+
*
28+
* EQUAL: a block of data of original and the revised text is equal
29+
*
30+
* which is no change at all.
2031
*
2132
*/
2233
public enum DeltaType {

0 commit comments

Comments
 (0)