GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — improved the documentation of DeltyType a bit · DanielE2Open/java-diff-utils@f76abb5

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • java-diff-utils/src/main/java/com/github/difflib/patch
    • DeltaType.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: java-diff-utils/src/main/java/com/github/difflib/patch/DeltaType.java
+12-1Lines 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 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.