Class PatchApplier.Hunk
java.lang.Object
org.machanism.machai.gw.tools.PatchApplier.Hunk
- Enclosing class:
PatchApplier
Represents a patch hunk and its preferred zero-based starting position.
The start position is a preference derived from the hunk header; the applier can search nearby for the original context when necessary.
- Since:
- 1.2.0
- Author:
- Viktor Tovstyi
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intPreferred zero-based location of the original hunk content.Raw, prefix-preserving patch lines that comprise the hunk. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
expectedStart
private final int expectedStartPreferred zero-based location of the original hunk content. -
lines
-
-
Constructor Details
-
Hunk
-