Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf76abb5

Browse files
committed
improved the documentation of DeltyType a bit
fixed#99
1 parentde04bd6 commitf76abb5

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
packagecom.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
publicenumDeltaType {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp