public static class DiffParser.Hunk extends Object
Modifier and Type | Field and Description |
---|---|
int |
from1
Line number in first file where the hunk applies, counting from zero.
|
int |
from2
Line number in second file where the hunk applies, counting from zero.
|
List<DiffParser.LineChange> |
lineChanges
List of changes (CONTEXT, ADDED, DELETED) that defines the hunk.
|
Constructor and Description |
---|
Hunk(int from1,
int from2,
List<DiffParser.LineChange> lineChanges) |
public final int from1
public final int from2
public final List<DiffParser.LineChange> lineChanges
public Hunk(int from1, int from2, List<DiffParser.LineChange> lineChanges)
from1
- Line number in first file where the hunk applies, counting from zerofrom2
- Line number in second file where the hunk applies, counting from zerolineChanges
- List of changes (CONTEXT, ADDED, DELETED) that defines the hunk.Copyright © 2022 Arno Unkrig. All rights reserved.