|
|
@@ -51,16 +51,15 @@ package org.eclipse.jgit.diff; |
|
|
|
* Regions should be specified using 0 based notation, so add 1 to the start and |
|
|
|
* end marks for line numbers in a file. |
|
|
|
* <p> |
|
|
|
* An edit where <code>beginA == endA && beginB < endB</code> is an insert |
|
|
|
* edit, that is sequence B inserted the elements in region |
|
|
|
* <code>[beginB, endB)</code> at <code>beginA</code>. |
|
|
|
* An edit where {@code beginA == endA && beginB < endB} is an insert edit, that |
|
|
|
* is sequence B inserted the elements in region <code>[beginB, endB)</code> at |
|
|
|
* <code>beginA</code>. |
|
|
|
* <p> |
|
|
|
* An edit where <code>beginA < endA && beginB == endB</code> is a delete |
|
|
|
* edit, that is sequence B has removed the elements between |
|
|
|
* <code>[beginA, endA)</code>. |
|
|
|
* An edit where {@code beginA < endA && beginB == endB} is a delete edit, that |
|
|
|
* is sequence B has removed the elements between <code>[beginA, endA)</code>. |
|
|
|
* <p> |
|
|
|
* An edit where <code>beginA < endA && beginB < endB</code> is a replace |
|
|
|
* edit, that is sequence B has replaced the range of elements between |
|
|
|
* An edit where {@code beginA < endA && beginB < endB} is a replace edit, that |
|
|
|
* is sequence B has replaced the range of elements between |
|
|
|
* <code>[beginA, endA)</code> with those found in <code>[beginB, endB)</code>. |
|
|
|
*/ |
|
|
|
public class Edit { |